Elektor-1990-02 (Feed Back Killer)
Elektor-1990-02 (Feed Back Killer)
ifterthlek Killer
- 11:idit)
Finance and Maintenance contract available. Offer A440/1 Colour on site contract at £50 Free on site contract plus
limited to current stocks. OR £120 to spend £260 to spend
A440/1 Taxan 770+ on site contract at £60 Free on site contract plus
We can provide attractive discounts to OR £120 to spend £275 to spend
Education Authorities, Schools, Colleges R140 Free on site contract plus Free on site contract plus
and Health Authorities. Simply phone us or £120 to spend £350 to spend
write, outlining your requirements, and we 'Contract does not cover UHF Modulator. Above prices are ex VAT. Offer on current stocks only
will su..ly a . uotation.
If you do not like any of the frills we offer ask for our barebone prices.
r I -- -1 February
Feb 1990
1
-- .
'
so
CONTEN S .1.-
Volume 16
Number 175
'
-Ili
14 PROJECT: Initialization aid for printers
h' A. Rigby ..
- -
-,-
--.
.7
l'r:fa -----.-1
.f. -,
---'-'-
tF....
:
:J-.--:
I
1..
-:.
''..'
32 Waveform modulation of the mains voltage illn \
;" h) A.M. Karailiev
1::::::
...-
GENERAL INTEREST
s3 PROJECT: The digital model train - Part 11 Initialization aid for printers
by T. Wigmore p. 14
Front cover 62 PROJECT: Dark -room clock
New singers and musicians.
by A. Rigby
like Kathy and Ian shown
here, can now set up their
own home recording studio,
INTERMEDIATE PROJECT \i
I
, *.
BASIC COMPUTER
\\\, \\\\ \A\\\\\ Intel 8052AH-BASIC
89.00 1
o0
o °° * I
!", fJ
0
£ 29.00
ed enclosure
S . .0 0.1
..)
or . ,
.I 1
"PLOTTER"
Contains all rnechc:-.:::
(filed and turned,
electro-magnets and 2 5-'.,pper MICROPROCESSOR -CONTROLLED
motors (100 steps/rev.) FREQUENCY METER
a -_,15ional grade multi -purpose frequency meter, designed
Individual ports cy Eleidor Electronics, that con be built by many at affordable
stepper motor: oost. Described in Elektor Electronics December 1984, IC TESTER FOR IBM-PC-XT/AT
January & February 1985. L1665B-based prescaler.
£23.00
£ 11.50 Frequency meter:
£ 9.00 0.01 Hz to 1.2 GHL
Pulse duration meter:
Stepper motor interface
board
0.1 s to 100 s.
Pulse counter:
. .
- :
..: 2
CC.
2.7
test sofhvare.
7.2
t
0 to 10' pulses
Comple,--- - 871 Complete kit including software G847481a £ 60.85
Period meter:
£, 36.- 1- 10 as to 100 ns
Sensitivity:
Ready Assembled Module GB474F
Software, single G8474SW
£ 113.00
£ 17.85
input A: 10 mV (Z-=2 Ma;
Input B: TTL or CMOS compatible (Z=25 ka);
input C: prescoler input:10 (2.-=50o).
Auto -ranging and completely menu -driven.
6 or 7 digit accuracy.
Kit includes power supply,
Plotter in kit form: £ 120. - prescaler and enclosure 169.00
Ordering and
payment S -VHS -RGB-CONVERTER SVR 7000
_ SVR 7000 video recc-de eas of the new
. 76 generation con E.4. a TV sets
- the TV set
. e SVR 70Y3
E.
-:m the
CCC.2.int%irCete.:.t.:E7 7.0
All payments must be a::: -:
by full nameand VARIABLE DUAL POWER SUPPLY
Postageoncipoc,:r T.: _ --ono 2-2 asca-- za cket are able
The most frequently used equipment in an electronics Tr,e unit.
orders. laboratory or workshop is an all-purpose power supply. Such
EXPORT: divide total value c 7:=" :7 . The !age supply is obtained from a 12V/21-1_ L. -DC vol-
unit should not only provide o variable, stable, output, but also tage ma:h&c:dap:a-
1.185
be able to withstand the occosionol overload. The supply
Meei--it Elektronika Complete kit GB497131( L. £ 76.25
described in Elektor Electronics April 1986 does all that, twice
/Viz' der Service
over! Ready Assembled Module GB497F £ 176.00
.:2,--.sorach135A
HAAG
Main technical features:
Te - 70609554 (only Output voltage: 2 x 0 to 20V
-2_ - - -2-,r,aibus;riess Output current 2 x0 to 1.25 A
hours, Internal resistance: 2 m Ohm
Output ripple & noise: 5 mV.
Minimum dissipation by virtue of pre -regulation circuit
Supplied with enclosure £ 149.00
You are working hard on a BASIC pro- Basic operation sure stable levels on the datalines. After
gram which is almost finished, and hard the STROBE output line is actuated, the
copy on paper is required to do the final The flowchart in Fig. 1 illustrates the basic circuit enters a wait loop to allow the
debugging. Since the program is fairly operation of the circuit, which is inserted printer to process the databyte. Depend-
long, you think it wise to set the printer to between the computer's Centronics port ing on the position of jumper JP', the cir-
condensed characters at 8 lines per inch. and the parallel input of the printer. The cuit waits for a negative pulse transition
The printer manual is consulted and the diagram shows the functional blocks in on the BUSY or ACK handshaking line
following command is typed in the direct the circuit as well as the interrelated tim- from the printer. When the transition ar-
command mode of GWBASIC: ing at which these blocks operate. rives, the EPROM address counter is in-
At power -on, the circuit is reset and cremented by one. The counter starts at
LPRINT CHRS(15);CHRS(27);"0"; forms a straight 36 -way connection be- the lowest address, nil, by virtue of the
tween the computer's Centronics port and power -on reset, and the fact that the cir-
We think you will agree that pushing a the Centronics input on the printer. No cuit stops automatically when the counter
small button on the printer initialization change is made to the previously estab- reaches nil. In the latter case, the "all 16
aid is a lot easier than having to look up lished printer setting, and the computer bytes sent?" loop in the flowchart is left
eight or so ASCII characters, and typing can send printer files as before. via the "yes" exit, and the circuit forms a
them into the computer whilst observing When 52 is pressed, data buffer ICs straight connection between the computer
the correct order, brackets and delimiters. blocks the datastream from the computer. and the printer until 52 is pressed again.
In the above example, BASIC fortu- The circuit actuates the BUSY line to force All 16 bytes stored in the EPROM are
nately allows the printer to be set to the the computer to stop sending data. Mean- to the printer under the control of strobe
required mode, albeit in a rather complex while, the data outputs of the EPROM, pulses, which are started with the aid of
way prone to many errors. There are, IC-, are enabled, so that the byte at the the delayed BUSY or ACK printer signal.
however, many programs that lack even currently addressed location in the The delay allows some time for the ad-
the most rudimentary means to set the EPROM is sent to the printer. A strobe dress counter to reach the next higher out-
printer to a particular character or paper pulse is generated to signal to the printer put state. When all bytes have been sent,
format. For such programs, the initializa- that a byte is held ready for transmission. the same delay is used to reset the circuit
tion aid is a useful peripheral, provided its Since the start of the first strobe pulse to its start configuration.
setting is not overridden by a printer in- coincides with the moment the EPROM
itialization string prefixed to each print- datalines are enabled, the strobe pulse is
able file by the program in question. delayed by about one microsecond to en- 16 <16 in control
A part of the circuit drawn in Fig. 2 consist
of a set of printed -circuit board tracks
called the control bus. This bus takes all
Centronics control signals not used by the
initialization aid from the input- to the
output connector. Two lines, C18 and C35,
form an exception, because they may be
used to power the circuit. Whether or not
they can be used for this purpose depends
on the printer used. Diodes D2, D3 and D4
form an OR function that allows the cir-
cuit to be powered by different supplies.
In case the printer lacks a +5 V output on
its Centronics connector, the circuit is
powered by a 9 VDC mains adapter via D2
and voltage regulator ICs. If the printer
supplies -3 V via line C18, the circuit is
powered via D3. If +5 V is available on line
C35, D4 is used for the same purpose. The
current consumption of the circuit does
not exceed 50 mA.
As already discussed, the circuit is
reset automatically the moment the sup-
ply voltage is present. Bistable FF2 is reset
by 12,-C2, and in turn clears address
counter IC5. Bistable Hi is configured as
ELEKTOR ELECTRONICS FEBRUARY 1990
IIINITIALIZATION AID FOR PRINTERS
S1
address range
initialization data
0 0 0 0 00 ... OF
0 0 0 1 10 ... 1F
0 0 1 0 20 ... 2F
0 0 1 1 30 ... 3F
0 1 0 0 40 ... 4F
0 1 0 1 50 5F
0 1 1 0 60 ...OF
0 1 1 1 70 ... 7F
1 0 0 0 80 ... 8F
Switch ICS 6.-Itp..utm 1 0 0 1 90 ... 9F
to 3 -state. Block
computer data; 1 0 1 0 AO ... AF
enable data outputs 1 0 1 1 BO ... BF
of EPROM IC7
1 1 0 0 CO ... CF
1 1 0 1 DO DF
Put byte at EPROM ad- 1 1 1 0 EO EF
dress on datelines; 1 1 1 1 FO FF
start first strobe
pulse (R10/CS)
0, -switch closed
1=switch open
9C0007 -T1
Generate first
strobe pulse
(R12/C4)
Table 1. DIP switch settings.
51 LULL 5
010 0 0 0 0 0 K2
Kt
2 2 5 7 8 9
Al YI
II DO 19
8
2
2 DI (712_,0
0- 7
3
1CB
13
14
D2
D3
21
22
A. Yd
6 5 74HCT 15 D4
0 As
0 7 4 540
Y6
16 :7
7 06
AlAS 77'
18 D7 26
a 1r31v .78. 27
119 28
corrtrot btA 23 0
13
C12
C13 !"- /// CIE C35
O
O
14
15
C14
C15
03
2x
04
0 5V
C12
C4 14
2
16 C16 1N4001
C17 :;,'"/ R3 R4 RR5156. C5 Is
O 17 0
CIS 127 28 C6 16
18
30 C30 f ics 11 00 Ca to
31 C31 :7, i ,T, 74HCT OA 12
CO
9 9 01 Nx, V., C30 30
14 7 93 pa Al Dl
8 13 D2 :Ss.. C31 31
33 C33 8
42
ra. RO(I) GC D2
7 5 03 C32 32
34 C34
11 R0(2) CD
11
A:
IC7 03 0
35 6 DA C33 33
C35 '14, 2764 D4
36 C35 ; 5 157 05 C3A 34
05
19
4
Du
-58 D5 C35 35
3 19 D7 ' C35 36
O 20 '7 0,
S
25 AB
0 2 24 `92 2
21 412
5
N104 3
2 23
0 1
25 2 20
12 CS N116
4 5 D2 5
25 6 NC
CND
27 N6 13 N12
28 03 9I 5
3 29
t41310
<N:
5V 4,7
0 0 05 1
10
t2n
5
cm -
8
0 10
52
FF2 FF1 512 R13
%1
CLK 0 _ 0
INIT 0
13
#44148
C61
U lm
5V 4n7 I1,
R2
05V
13
D' N19.to
STROBE
N17
II
2
BUSY BUSY
FF1,FF2 = IC6 =74HCT74
N1 -.N4 =1C1 . 74HCT02
JP1 N5...N8 = IC2 = 74HCT132
N9-N14 = 1C3 = 74HCTO5
10 N15...N20 = IC4 = 74HCT05 10
ACK 1
ACK
5V0 D2
IN
i IC9
8...15V=
00
N20
o (5 6 ci 6 Cii 6 ci 6,1.
IC5 77,0,,,IC4 mr00,IC3 .700,IC2 .700,1C1
ocIN400, cs ...._ .,
7805
C9
1TIT1'
1C8 IC6
TjOn 1730,
1 12
'YTTI 1
902007. 2
.0.0
Fig. 2. Circuit diagram of the printer initialisation aid, a very useful peripheral device for advanced computer users.
AUTSOTEIII
_
r:=
- -
=
ISPITTPPIITE Ps URN (GIID)
FIEgliglINPUT PRIME) mand strings to achieve the settings you Jf.
N.C.
LOGIC MD .
LOGIC CND
H.G. require. The circuit allows a maximum of
CHASSIS
5Y
7-= 451,
SELEC 16 command strings to be programmed, Fig. 5. GWBASIC test program listing.
each with a fixed length of 16 bytes. The
mini EPROM programmer described in databytes to be programmed from
Ref. 1 is suitable for loading the 256 bytes.
If the required initialization sequence is databyte = 255-data.
900007. 13 shorter than 16 bytes, the remainder must
provide null characters (00), or any other This inverts each byte to negate the inver-
character which is ignored by the printer sion in the output buffers.
Fig. 3. Centronics connector pinning. (again, consult your manual).
The sequence of commands to be pro-
cuit board shown in Fig. 4 is straightfor- grammed in the EPROM Type 2764 is first Reference:
ward. The pins of the Centronics connec- tested 'on line' with the aid of, say,
tors are simply pushed over the relevant Gl\" BASIC. Document the final versions 1. Mini EPROM programmer. Elektor
copper fingers at the edges of the board of the command strings. Next, compile the Electronics January 1990.
Parts list
7 Resistors:
= SIL resistor array 8x10k
Rz - Rs = 10k
000000000 SI R7 = IMO
00 - Ris = 2k2
n
A Rs = 100k
00000000 0000
O 000
** Capacitors:
CI = 10n
C2 = 470n
IC7
C3:C6 = 1n0
C4 = 4n7
O i Oe Cs = 470p
'3 0-01F° CnCe;Cio-Cia= 100n
C7
Cs = 330n
000
m
Semiconductors:
"I
Di = 1N4148
0-101-° D2;113:D4 = 1N4001
0 R'12V't 01F0 Oi R11 to ICi = 74HCT02
C 0-01 FO 0 n 'L_110 Woo IC2= 74HCT132
IC3:IC4= 74HCT05
IC 6 80:>0-11-0 ICs = 74HCT93
0 000 00 ICs = 74HCT74
F.0 01R9 10 00110 IC7 = 2764 cr 27C64tA)
shoo 01R13 0+ ICs = 74HCT540
C'1
0,04 E0 oil ICs = 7805
olp 10
N Miscellaneous:
= 36 -way female Centronics connector
0 .g. 0--144-0 with straight pins.
:17
K2 = 36 -way male Centronics connector with
A
straight pins.
0 0o = 4 -way DIP switch block.
11
S2 = Dataswitch push-button.
3 -way pin header.
jumper.
PCB Type 900007 (double -sided: through -
plated; see Readers Services page).
Fig. 4. Component mounting plan for the double -sided. through -plated circuit board.
AF
Y,
,
voto:
Time Base
Cr1
7Kccti-,,
.: ,.. .:.
Construction and
1 adjustment
The complete circuit is built on a printed -
circuit board that fits into an ABS, stand-
ard -size hand-held enclosure with
integral battery compartment. The circuit
to the right of the dashed line in the circuit
diagram, and diodes D15 -D24, may be
omitted if the capacitance meter is used in
conjunction with a digital multimeter that
assumes the display function.
The population of the PCB should not
present problems. The high -value 1% re-
sistors, Rs and RI2 (4.73 Mil), may be dif-
ficult to obtain in small quantities. They
may, however, be selected from a batch of
KC .
4.7 MS2 5% types with the aid of a D\IM.
Fit two four- or five -way terminal
blocks on to the front panel of the enclo-
._
sure for connecting the capacitors to be
tested. Be sure to use high -quality termi-
nals to avoid problems with wear and tear
of the contacts. A two-wav loudspeaker
Fig. 1. Measurement principle and graphs to illustrate the operation of the R -C integrator. terminal block for wire insertion is a fine
alternative to multi -way blocks since it
provides fairly wide contacts which allow
period is arranged by the AND diode con- troduced by Tr is compensated by its capacitors with different terminal spac-
figuration of D3 and D4 at the Q12- and counterpart, Ti, in the other MMV circuit. ings to be inserted.
Q13 -outputs of IC!. These diodes cause The display circuit is based on the well- Large capacitors of which the wires can
the MMV output to remain permanently known Type 1CL7106 A -D (analogue-to- not be inserted into the terminal blocks on
high when a too large capacitor is con- digital) converter with integrated the instrument must be connected with
nected. In this condition, the voltage at the 31/2 -digit LCD (liquid crystal display) test leads. Do not use these leads for small
two NINIV outputs causes the LC display driver. The 1CL7106 is used in a standard capacitors, since the wire capacitance will
to indicate '1'. The measurement error in- application circuit with the decimal point make the indicated value worthless. Pi is
ELEKTOR ELECTRONICS FEBRUARY 1990
20 TEST AND MEASUREMENT
5V
e2
5V 0
SV
20 30 4
Rib 02361
NO22101
P:4 los
1321
cx
BS170
EMI X 10x
1N4148
7 *DP
II
Pa RS R61 147 RE
C
LCD1
4V LCD 3
R33
2t
R9 R5) RII
t.= G2C2[12q 42t22Z
PE" HI 35
REF LC 36
2x 26
1N4148 C REF A/Z BUFF Oa
R2
4V
Cl'
I=1
503 T2y
6V
70, 20,
MKT MKT
100=
MKT
1C2
74 HC7 4060
135'170
PO RST
U
1C3 = TLCS56
141-N4 = 1C4 = 4030
Is
903312
either a preset with an adjustment spindle Connect a 1%. or 2% polystyrene (sty- just P2 until the DMM reads 0 V. Connect
or a potentiometer with a 4 mm spindle. It roflex) or silver -mica capacitor with a the reference capacitor and adjust P3 until
allows test lead capacitance to be compen- known value in the lowest measurement the correct value is indicated. Repeat the
sated. range (e.g., 1 nF). Set S2 to the 2 nF range, adjustments of P2 and P3 as detailed above
The accuracy of the instrument is set Pi to the centre of its travel and P2 and for P2 and P4.
determined mainly by the quality and P3 to maximum resistance to ground. Con-
tolerance of resistors 129-R12. nect the reference capacitor, and adjust P4
until the correct value is displayed. Dis-
connect the reference capacitor and adjust
the zero -indication of the meter with P2.
Repeat the adjustments of P2 (capacitor
connected) and P4 (capacitor discon-
nected) until the indicated value and the
zero indication are both correct.
DMM as display
The value of the test capacitor must be
adjusted with P3 instead of P4 if a DMM
set to the 2 V range is connected to points
L and H. The 'meter -zero' control, Pi, is
Fig. 3. The measurement cycle is stopped replaced by a 5.11 kfl 1 resistor in this
after 12 ms to discharge too large capaci- case because the adjustments for meter
tors. zero and capacitor value interact. Set P3 to Close-up of the battery compartment.
maximum resistance to ground, and ad-
EI.EKTOR ELECTRONICS FEBR \R1" Ivvu
CAPACITANCE METER
111
00000000000000000000
PF
0
0
ON -ilk- METER nF
I
0000000000000000000
.2.
)
0-I I-0 rj
a R25 W1:1 P1241 V
LO
N0_0 CC
nF j iF
0-° °-
cue-o o-oi Fo
6
a
a.
0
r aH C13
0 0 teti-P4 111-
Ur
_r L a a
1 .7a
-0- Et II
R22 09
itek. 0
ClaCI r 0
Cti 0,1
0000
+0
+
IIM11=1114
( ) 1111MIIMMIP
0- N
-WI 610
e e
_a_cg-L0/*
*-1111111=1111Nrrill
Fig. 4. Component mounting plan of the printed -circuit board tor the capacitance meter (left) and suggested front -panel lay -out (right).
:= -2 V 22C3R
flat on the casing) and requires a series ectronics orce- _ E.- -
current limiting resistor to operate from
Circuit description any supply. S-
=
=
E.. PCB
-:_sing Ors conia::i
The circuit is designed around a dual func- The relay used is of extremely small di- - :
tion LED. This device looks like a normal mensions, and has a single -pole change- F::? :
mm diameter clear LED, but has three over contact set. The coil is energized by !-- 150
terminals. The casing actually houses a the +12 V ignition circuit in the car, with
green LED and a red LED driven by a back e.m.f. protection provided by D2.
flasher unit. The cathodes of the LEDs are The LED terminals are connected to the
commoned to the centre pin. When a volt- relay contact set so that normally the red
age in the range 4.75-7.0 V is applied to flashing LED is actuated (ignition off
the 'R' terminal, the red LED will flash at a state). The regulator circuit formed by RI,
rate of about 1.3 Hz. The green LED is con- Di and CI provides a fixed voltage for both
nected to the other terminal (indicated by a LEDs. This was chosen to avoid problems
INTRODUCING OP -SERIES
OPAMPS
J. Ruffen
NOTES,
r CP-:,A VE,.I. : , , -,, z ,
2 5.r.c..e xirez
2 G.A3.71,PC Pt on -sr
allows the operation of complex circuits -"1 C...f-`.a.: V7--a9e T,, - 25';:.. 'Ws z 2; . -
4 3.-.57:e""t R3'ne
based on opamps to be analysed and -..-t C -',.set arse,. TA - 2.5.0 - 10 -
understood. TA,,,. f. TA s TAAAAA ,,,. zt E x.
In practice, the ideal opamp is only i Mera...,a Frpc...C1Iset
0.5
Carent Dr!
useful for the design of low -performance TA - 25C
5.0;,1 3,as C1rw,1 30 I sa i.-::-:.
circuits, and for function analyses. In all 7. , TA TOO), . 10.210 ,4
other cases, the most important non -ideal -:._ri R.Stf.,',7= TA - 25*C. Vs - .20V to so I ;; - ;;
characteristics must he taken into account. Ts.u.. ,. TA , T.,,,,,,
0.5 .::
Vs = -,-. 20:
The relative importance of all the design 1.-o.i Vu- Range TA = 2VC I 2 7'a
parameters involved depends on the type TAA, , TA , TA.,._, . ,2 , ' v
of circuit in which the opamp is to be used. 13.-.e. S .--.s." V=P Gan TA = 25.C. R, .., 2s.c1
vs = .20V. Vo = .15V 50 vimV
In an alternating -voltage amplifier, for in- vs - .. 15V Vo - 7 1DV
I
20 200 Vic -N
stance, off -set drift is less important than P1.., -. - , - Tasera
founded choice can only be made on the voltage without the need of a zero -adjust
basis of knowledge and experience. circuit at the sensitive inputs of the
Infinite amplification and input im- opamp. The principle is illustrated in the
pedance and zero output impedance are circuit diagram in Fig. 3.
probably familiar terms in relation to The designers of the OP07 have gone a
opamps. The real thing, however, starts little further, however, as shown in Fig. 4:
with off -set voltages, input bias currents, the collector resistor consists of a number
noise, slew rate, and many other factors. of series -connected individual resistors,
;,'t,t.0,11 of which two have a zener diode in paral-
Opamp technology lel. In the production process, the off -set
voltage is reduced to the minimum value
Several integration technologies are used 0 immediately after the chip is ready. Ac-
in the production of opamps. In their curately controlled current pulses are ap-
quest for the ideal opamp, manufacturers plied to blow ('zap') one or more zener
are faced with a real dilemma: improve- diodes, which then turn into shorting
ment of one opamp characteristic results wires.
in degradation of another. Inevitably, a This automatic 'zener-zap' process
particular integration technology is allows off -set voltages to be reduced to
linked with near -optimum performance 50 p.\- (typical)- In some cases, provision
in one or a few respects only. A clear is made to compensate even that level
example of this vicious circle is that an Fig. 3. Opamp input with external offset with the aid of an external trimmer preset,
increase of the slew rate is inevitably compensation preset. which is usually included in a resistive
coupled to increased current consump- bridge circuit. This arrangement is used
tion. Although not all opamp charac- This means that the drift specification of because the temperature co-efficients of
teristics can be optimized at the same the OP07 is roughly 15 times better than the components in the bridge have a much
time, today's production techniques do that of the 741. smaller effect than those in the circuit in
allow improvements in the performance Extracts from the datasheets of the Fig. 3.
to be achieved if the aim is clearly defined. OP07 and the 741 are given in Fig. I. All these goodies may lead you to start
This results in a particular opamp perfor- Clearly, the OP07 has a smaller drift, and replacing all 741s by OPO7s just like that.
ming better than another in the same ap- the absolute value of the off -set voltage is Remember, however, that the resultant
plication. The use of the most favourable also lower. Apparently, the drift specifica- improvement in the circuit performance,
production technology for a particular tion may be improved by keeping the ab- if at all required, does not come cheap: the
characteristic has resulted in many opamp solute off -set voltage. Li small. 0P07 is about 10 times as expensive as the
families with many members. Currently,
the four major technologies arc bipolar,
BiFFT. BiMOS and LinCNIOS (Ref 1). Zener-zap trimming
This technique is used to reduce LI,., of the Input bias current
OP07 to a value smaller than 200 jAV with- At room temperature, bipolar transistors
Off -set and drift out the use of external components. The have a much higher input bias current
Bipolar opamps such as the ubiquitous function and operation of zener-zap than JFETs (junction FETs), although this
741 consist of npn and pnp transistors. trimming is best explained by studying current is virtually temperature -inde-
Bipolar amplifiers have the best specifica- the cause of the off -set voltage. pendent. The input bias current of BiFET
tions as regards stability of the input off- The basic structure of a standard bipo- opamps roughly doubles for every ten de -
set voltage. This characteristic is often lar opamp input circuit is shown in Fig. 2.
referred to as input voltage drift, or the The output voltage, is the potential
temperature co -efficient, d T, of the difference between the collectors of Ti and
input off -set voltage. Ti:
Field-effect transistors are less easy to
match than bipolar transistors, and as a Ua = A ll-,111)Ra - /0T -IRA
result BiMOS and BiFET opamps gener-
ally suffer from the resultant drift effects. If the collector resistors Rc are equal in
Modern bipolar opamps such as the Type both branches, U, = 0 if I. equals I.
OP07 are specified for a maximum off -set Also, assuming that Ti and T-2 are perfect-
voltage drift of 1.3 gV/K, although values ly matched, i.e., identical, equal collector
better than 0.2 AV/ I: are no exception currents result in equal threshold voltages
LI: - and U,., From this it follows that
the output voltage, Lld, can only become
zero if the input voltage, Lli, equal to
U`'
-e'r') - Llb-e41-2)
0...pus
the 741.
12,43 RV./
.4.-+ 3. 33 25 .5 - Salt
CO-,...- tt,,,e
:-- :, .,,
nail vs -.3, -.: r, 3..i 123 'OS , S. !M -
__a-,..S.ra va,..-_:. as, A:0 P. a Zn_ vo ... :IC, 223..S:,33 !MCC - 5.332 ,233[C,
general purpose
low -power i ;
i
¢
micro -power t
; D
high-speed i3 ! i
high accuracy
------------
Each of these applications requires a par- "raPIA.CiVE ,
s) ss ...
=.e.,
ticular type of opamp for optimum perfor- 833,51-15
mance- Each opamp family, in turn, has
members that are tailored to give opti-
mum performance in one respect only_ TOTAL INPUT NOISE
INPUT WU:1E13MM NOME vs
BANDWIDTH (111 Hs TO MAXIMUM OUTPUT SIV.IM
The overview in Table 1 may prove VOLTAGE vs FREQUENCY FREQUENCY INDICATED)
1r
vs FREQUENCY
-
useful as a first guide to opamp selection. --,-...... : - .. ,....-:.
.1 ..t.
The right-hand column gives the best- ..i. .
known types in a particular series. _--'Y
.
- - ----- - -
.... t
-.,..-...-. . '
Reference: WV.
, , .. es -
1. LinCMOS circuits. Elektor Electronics EU , le
Fig. 5. Introducing the OP177 ultra -precision opamp (illustrations courtesy Precision
Monolithics Inc. )
The scrambling system employed for the BBC -TV Europe and the
now defunct Premiere channel on the Intelsat-VF11 TV satellite is
generally classified as a low-level video encoding scheme. Based on
controlled interference in the video spectrum it is, however, not so
simple to defeat with traditional filter designs that have already
caused much hair -pulling and teeth -gnashing among technically
inclined dish owners. The decoder discussed here leaves traditional
filters for what they are, yet offers a perfectly decoded picture at a
cost of 225 or so.
946Hz 9.4kHz
low-pass low-pass
Spectral analysis elliptic filler elliptic tiller
The frequency spectra of Fig. 2 illustrate +90'
the basic operation of pre- and de -emphasis
techniques used in the present decoder.
The spectrum of Fig. 2a shows the typical Fig. 1. The first approach to a SAVE decoder is nearly always a VCXO design. The inherent
amplitude distribution, within the fre- disadvantages are, however, relatively high cost and the 'one channel, one crystal' rule
quency range from 0 to 500 kHz, of a (source: Ref. 2).
video signal. It should be noted that the
drawing is purposely simplified: the spec- 575 Hz in the case of Premiere - and techniques are applied in FM communica-
trum applies to a completely black pic- make selective suppression of the inter- tions systems to improve the signal-to-
ture, while the effect of the raster ference frequency fairly difficult because noise ratio. At the transmitter side, a
synchronization pulses is not shown. The the phase and amplitude of the sixth har- certain part of the frequency spectrum of
simplified spectrum with line sync com- monic of the line sync must be left com- the modulation signal is given a greater
ponents and the interference signal is, pletely unaffected. If this condition is not amplitude, which is reduced again in the
however, still useful for a basic analysis. met, the picture is visibly distorted. receiver by a matched filter to restore the
The frequency range between 90 and Hence, a simple notch is unsuitable for original signal level. Ideally, the fre-
95 kHz is shown enlarged in the lower building a reliable SAVE -decoder. quency response between the input of the
spectrum of Fig. 2a. Clearly, the inter- For those less familiar with video tech- transmitter and the output of the receiver
ference carriers are quite close to the sixth niques, it may come as a surprise that the is flat because the pre- and de -emphasis
harmonic of the line frequency. The fre- interference signal must be amplified be- filters are closely matched by means of
quency differences are small - only fore it can be suppressed. Pre- en de -em- complementary curves.
475 Hz in the case of BBC -TV Europe, and phasis are used to achieve this. These A two -section L -C filter in the present
a b
C
rds
teB]
-^:. 544
SIM ha j S43251a
1E -.:-
1
I I]
--ph
73
33 33 5 9, St 5 33 33,J 733 3., 35
Fig. 2. Frequency spectrum of a SAVE -encoded video signal with no picture content (2a); theoretical pass -band of the pre -emphasis filter
(2b); and the result of the pre -emphasis operation on the original spectrum (2c). It should be noted that the spectra shown are theoretical
and purposely simplified.
VIDEO VIDEO
RP UT OUTPUT
the amplitude of the interference signal. width, and the output signal of the de -em- The pre -emphasis L -C filter in the col-
The control loop performs automatic cor- phasis network is fed to the video buffer lector line of Ti supplies a video signal
rections to the amplitude of the VCO sig- with associated damping circuit. The with a 94 kHz component of about 3 Vpp
nal until a stable condition is reached. decoded video signal has an amplitude of when the receiver is tuned to a SAVE -en-
Once aligned, the decoder is, therefore, about 1 Vpp at a load impedance of 75 a coded TV channel. The transistor works as
insensitive to small amplitude variations and is suitable for direct connection to a an inverting amplifier. Capacitor Cr feeds
of the input signal, and other forms of monitor or remodulator. the signal with the 94 kHz component to
instability. the phase comparator in IC3, where it is
The integrator that shifts the phase of multiplied with the VCO signal applied
the VCO signal by 90' gives a frequency -
From theory to practice via Cis.
independent phase shift, and is located The previously discussed functions are Phase control
after the amplitude control circuit. An ad- easily found back in the circuit diagram of The 94 kHz Colpitts VCO built around
ditional benefit of the integrator is its Fig. 4. The unclamped video signal from T- is tuned by means of a direct volt-
ability to suppress harmonics generated the satellite -TV receiver must have an am- age applied to dual variable capacitance
by light distortion. These harmonics are plitude of at least 0.5 Vpp. Components PI, diode D7. The circuit around D. and 1-4 is
suppressed at 6 dB per octave. Ci, R3 and ESi take the non -encoded video an amplitude stabilizer. When the ampli-
The control voltage for the amplitude signal to amplifier T5. From there, it is tude of the oscillator signal exceeds a cer-
controller is used to light a LED that indi- passed through clamping circuit Di -D2 -T. tain level, conducts via D., and draws
cates the decoding of a SAVE signal. before it is applied to output buffer Tr. The current through R44. This causes the drain
When the LED lights, the loop filter is output amplitude is set to 1 Vrr into 751. current of the oscillator FET to drop to a
automatically switched to reduced band- with the aid of preset Pt. level at which the feedback gain in the
Theoretical background
1. Pre- and de -emphasis When pre -emphasis network La -Cs (Z) resonates at 94 kHz. it forms
a very high impedance. R13 alone then determines the impedance of
Current source T uses pre-empnasis impedance Z formed by Z With R13 = 27000:
C= -Cs -Rs to generate a signal voltage at TP1:
U0 = -1.23 Uwde0-- 0.09 Ures
U3 T1 = U
Uanim U Correctly aligned, the pre- and de -emphasis networks yield more than
20 dB suppression of the 94 kHz component, without distorting the
T11 s 4E1'1} = Rs video signal.
Since T3 offers high current amplification, Z is hardly loaded. The frequency of the amplitude control voltage. U,eo, is 0 Hz if the
regenerated frequency equals the frequency of the interference volt-
The regenerated 94 kHz sine -wave is added in anti -phase to the video age, U,:
signal. Emitter follower T4 forms a virtually ideal voltage source for
the de -emphasis impedance. Z:
Ureg= Jo sinuo t !I( U,- (keg)sin (co rildt
Ua 74, = U574, = Z R7 / R5 + Up Sin (WI+ 9) Ureg= jo 0.5 ( -Limo)[1 - cos ( 2 co t)id t
where
ca = 2 rz 94000 [ rad/s] The integrator gives virtually complete suppression of the 188 kHz
component, so that:
The decoded video signal across R15 may be written as
Owing to noise in the input signal. the residual 94 kHz component. = ip COS (0) )
where
With R7 = R15:
co = 2 rr 94000 [ rad s]
U0= -R 15 R 5 Uvideo÷ R 15 Z R 15 ) Liras
The phase is shifted 90' independently of frequency.
U0=-1.23 Uvideo+ R isi(Z+ R 15) Ures
WAVEFORM MODULATION OF
THE MAINS VOLTAGE
by A.M. Karailiev
10
104
co -
4 a
BC108
RS
Fig. 2. Fig. 3.
sl-}4 zas4
Fig. 5. Pulse diagrams at selected points in the circuit of Fig. 6. The numbers Fig. 4. In diagrams a and b there is no modulation: in diagrams c and d.
at the left correspond with the circled numbers in Fig. 6. modulation is present.
small as possible. For example. if the de- present and no pulses at all in the absence nium type to ensure minimum -v. idth
tector produces pulses 100 ps wide in the of modulation. pulses in the absence of modulation.
absence of modulation, and a modulated Network R3 -R4 -C.; forms a charge/dis-
signal with a depth of modulation of Receiver charge circuit that converts the pulse -
250 ps is applied. the width of the output width modulation into pulse -amplitude
pulses will increase to 300 gs. If the detec- In the circuit of the receiver shown in modulation. The pulse height can be ad-
tor is made more sophisticated. it may pro- Fie. 6. Ti serves as the zero crossing de- justed by R3. so that monostable ICI may
duce pulses only when there is modulation tector. It should preferably be a germa- be triggered only by pulses above a certain
height.
The monostable is retriggerable and
produces a long output pulse at its pin 12
when there is modulation present. Here.
5V 12V the length of the pulses is predetermined at
IC2 1.1 rl 500 ps. Shorter pulses will he suppressed
7805
s Cl' by a noise protection circuit consisting of
CI 220V
T200 T713, Rft-R7-C(i and the two Schmitt triggers
P3 contained in IC3.
mi=
The output pulses of ICI are counted
FS IC3a
2PcExT IBM ICI =74123
by 1C4. When the pulse train ceases. re-
i2
C41[11,752,
IC3=74132 triggerable monostable IC2 emits a pulse
zcExT ICU
CLIP,
that is applied to the clock input of D -type
2C
LP bistable ICs. This causes the contents of
20 A701. 11 l3
F, 2. C, 02 one stage of the counter to be transferred
3
IC4 to IC:. which acts as a latch. Since ICs is a
7493
four -stage counter, it is thus possible to
control four different devices or machines.
IRCEXT Diagrams of the pulses at selected parts
10EXT of the circuit are shown in Fig.. 5.
ICiG
3 FS
The higher noise immunity of the re-
ICLOO
10
IC5
7474 MEI ceiver as compared with that in my earlier
IA
S
article is obtained because:
I' V
I. its input is open to the signal and
closed to noise, since the thyristor short-
circuits all noise:
2. of the noise protection circuit:
3. of the special form of the signal (ab-
sence of voltage).
Fig. 6. Circuit diagram of the proposed receiver.
FEEDBACK KILLER
T. Giffard
in.:.:4-2 -1:
Fig. 1. Sound reflections. Fig. 2. Block diagram of the feedback killer, and its mathematical background.
ES t
as
/taxa
C
MIM MIN
Fxx
ES]
Li
OM.
C22
Cap6
RI
IC'
40E0 ay
97 S
40.53
A1 -_A/
A5_,55
AS_Al2
=ICI = 21024
= IC2 T1074
= IC3 =71071
sr. 22a
A13__A15 =1CA r -7L071
ES1--ES4 =ICS =10E6
ESS_ESS =106 =1:E5
FF1. FF2 =ICE .1013
FF3. FF 4 =1010=1013
SY
CAI
IC1
:7:,
.,..... 102 9114 ,e3 `II ,,, (-C---.
ics C22OM
E-----.
" ma ,7
0
Ca.0
0
(3 CSa
T
CI. T i(
cly C2
C: C3I Cr) LT14
'V
I TUB
ir--""j
C24 -CASs 22,,Xst
LI:CIS .7. ----7 ---7 .--7 .____T
SICCC2 -13
SY
quency equal to the sum of the frequency The output signal of the mixer is taken sine -wave products and a series of cosine -
of the input signal and the frequency of through an active low-pass filter. This wave products. The harmonics are
the carrier with which it is mixed. The operation is required because the input removed in the previously mentioned
upshot is that the input signal is shifted signal is multiplied by 90° -shifted rectan- low-pass filter, so that only the wanted
over a small range in the frequency spec- gular waves, rather than a sine -wave and mixer product remains.
trum. Although the equation shows that a cosine -wave which would have given There are two ways of shifting the
the sum signal is a single frequency com- rise to a considerably more complex cir- input signal over a small range (1 Hz -
ponent only, it should be noted that this is cuit. From Fourier analysis, a rectangular 30 Hz )in the frequency spectrum: 1) use a
only valid if the input signal is shifted wave is composed of a fundamental fre- low -frequency modulation signal or 2)
exactly 90'. Unfortunately, this is only quency and an infinite number of odd - mix the signal a second time with a signal
possible in theory. Any practical circuit numbered sine -wave harmonics as of which the frequency is almost the same
produces spurious signals that cause am- as that of the first rectangular wave. Next,
plitude -modulation (AM) of the mixer 4irc(cos(cot)-1/3cos(36in /5cos(5o)t) remove the undesirable sidebands with
output signal. The all -pass filter used in the aid of a filter.
the feedback killer ensures a phase shift of The amplitude of the harmonics decreases The second principle is adopted in the
very nearly 90° over a frequency range of with frequency. The use of two 90' -shifted feedback killer. Two carriers of a relative-
50 Hz to 7 kHz: rectangular waves results in a series of ly high, but slightly different, frequency
ELEKTOR ELECTRONICS FEBRUARY 1990
36 AUDIO AND HI -F1
rvpr
ference to a minimum. Fortunately, there
amount 8 in the frequency spectrum. If the
carrier frequency is relatively high (ap-
prox. 125 kHz), suppressing the un-
.444A4
r p
is virtually no tolerance or quality re-
quirement for the decoupling capacitors,
so that inexpensive types may be used
wanted sideband is relatively easy with
the aid of a band filter, which doubles as 44.0.A4 with impunity.
a filter for the sidebands that are gener-
ated by the use of rectangular waves in the Construction and
second clock generator. adjustment
Circuit diagram The circuit is preferably constructed on
the single -sided PCB shown in Fig. 5. The
Figure 3 shows the circuit diagram of the construction is entirely straightforward
feedback killer. The essential blocks in the and best started with fitting the wire links.
circuit are an all -pass filter around 1C:: - Fig. 4. Principle of frequency multiplica- Note that a fair number of resistors is
IC:, an output filter around A1s and Ate, tion with the aid of electronic switches. mounted upright.
and two clock generators around IC7-ICio. The adjustment of the circuit is simple.
The audio signal is buffered by Ai before ference between the two clock signals As already discussed, the frequency shift
it is applied to the all -pass filter which determines the effective frequency shift of of the audio signal is determined by the
introduces a phase shift of 90±0.5' for sig- the input signal. The output signal of the frequency difference between the two
nals between 50 Hz and 7 kHz. The filter second mixer is taken through a second - crystal oscillators. This frequency dif-
components have a tolerance of l';;: to en- order high-pass filter, Ain, and a second - ference is set with the respective trim-
sure that the deviation from 90' remains order low-pass filter, A15, to remove all mers, C21 and C.
as small as possible (remember that the unwanted harmonics. The AF output is a The function of the circuit is relatively
number of unwanted sidebands rises with virtual copy of the input signal: the only easy to check. Set both trimmers to about
the deviation from 901. The frequency difference is that it covers a slightly differ- one-third of their travel. Connect a two -
range of the all -pass filter restricts the ent range in the frequency spectrum. channel oscilloscope to the input and the
practical use of the circuit to speech. The The clock generators around IC4 and output of the feedback killer. Apply a
feedback killer, must, therefore, not be IC- are identical with a Type CD4060 os- sine -wave to the input and synchronize
used with singers or musicians, since the cillator/divider and an 8 MHz quartz the top channel of the scope. The circuit
absolute frequency shift upsets harmonic crystal as the frequency determining ele- worksif adjustment of one of the two trim-
relations and so causes the performers to ment. The Q3 -output of each CD4060 sup- mers causes the (output-) signal on the
play or sing out of tune. plies the oscillator frequency divided by lower channel to start moving horizon-
The all -pass filter is followed by a buff- 16, i.e., 500 kHz. The two bistables (FFI- tally across the scope screen.
er, A1, -A.1, which introduces a phase shift FF2 and FE-FF-; secure the required phase The frequency shift required for opti-
of 180' required for the first multiplica- shift of 90' between the two clock signals. mum suppression of feedback depends
tion with the rectangular signal supplied In this operation, the clock frequency is largely on the equipment used, the power
by the first clock generator. The multipli- divided by four, so that the carriers have ratings and anticipated sound levels, and,
cation proper is effected by electronic a frequency of 125 kHz. The trimmer ca- of course, the acoustic characteristics of
switches ES:-ES4 as illustrated in Fig. 4. pacitors in the crystal oscillators allow the the listening room. Finally, it will be clear
The non -inverted and the inverted sine - frequency shift applied to the AF input that the effect of the circuit is less noticed
wave is passed during the positive and signal to be adjusted to requirement. at relatively small frequency shifts.
negative half -cycle of the clock signal re- The circuit draws less than 50 mA from
spectively. a regulated ±5 V to -±8 V power supply.
Opamp A: adds the two mixed signals, Components
and supplies, in principle, the compo- The capacitors in the all -pass filter are
nents of which the rectangular wave con- preferably 1`7, -tolerance polystyrene ('sty-
sists. The frequencies of the components rollex') or silver -mica types, although the
are, however, raised by the frequency of board allows MKT (plastic encapsulated
the input signal. Opamp An suppresses multi -layer polytherephtelate) types to be
all unwanted higher harmonics generated fitted also. These capacitors from Siemens
by the use of rectangular -wave clock (car- generally have a tolerance of 5c'e. Note
rier) signals. As a result, the sum signal that when MKT capacitors are used, there
contains only the mixing product of the is little point in using 1% resistors. The use
input signal and the fundamental fre- of 54 -tolerance components in the all -
quency of the clock signal. The 'digital pass filter increases the amplitude modu-
mixer' approach uses fewer components lation of the output signal.
than an equivalent all -analogue (sine- Two types of PTFE foil trimmer,
wave/cosine-wave) circuit, and has the 10x5 mm raster and 5x7.5 mm raster, may
additional benefits of lower cost and the be used in positions C21 and CB. Do not
absence of adjustments. use ceramic types: they are not partly
The filtered signal is available in in- transparent as PTFE foil types and do not
verted form after opamp A13, and is therefore allow the set capacitance to be
mixed a second time with a clock signal. deduced from the position of the rotor
Like the first mixer, the second one uses relative to the stator blades.
electronic switches. The frequency dif- Be sure to use quartz crystals and
ELEKTOR ELECTRONICS FEBRUARY 1990
FEEDBACK KILLER
AG- o -o -n -o 0 so o
R400-
n2, _c) A
R1
-06IN 1 AO- 0- 01
._,,-.,
33 33
-0[:.
33
A-1-
o
"-yrJR3s-' , 2n0---0
M
20 ru 9 9 e
_c, R10
It
n 2,
NI
13:1 00
0
A)R17 R16
MEC° 6 -0 w;L) -
R11
L) -0 e-0-0 Cr
(5 -0 -0
0E:3
IC12Oi [0 na>1 I-0 \IP3 6
00-1E0 li 0(R3B10
C500-1 FO 66 II
0 -19D9)119D? c 4
0 ,0 Co R24 -3:1
Cl
AN
`-1442(606,1:425
-0 LI C°
cJW gicl n q-
M
O
00 0 "go -01=126
-3-3 001[0 L3n3i.3.11:11C0,0,..
2:7-c.i
O
A
(.1
.v.,9 9 nA 93J4 0-0 _E) _oR32 s"/R27
0-
n A
C-15 131 al
AA
q C9c,..0,1.0 66
A 0-1E0 0--0 RIFOR
1:1
NN
00 co
1-02 91.9.9999 GI
(Ti
ti
A -a 0 CB 0
n n
01111111C
33* 0 4 4 4 4 gu A n icio /A
00
L.,
,., 0 A
60 0+
:
Fig. 5. Track layout and component mounting plan of the printed -circuit board for the feedback killer.
2AD[10
This FM radio, designed by ELV GmbH, consists of an insertion card
for IBM PC -XTs, ATs and compatibles and is available as a kit or a
ready -built and aligned unit. The radio has an on -board AF power
amplifier for driving a loudspeaker or a headphone set, and is
powered by the computer. A menu -driven program is supplied to
control the radio settings.
Take a look around many modern offices Stations are pre-programmed as fol-
and you will notice PC users or terminal lows. First, tune to the desired station,
operators wearing headphones while sit- then hold the SHIFT key depressed before
ting in front of their screens. In most cases, pressing the function key to define the
a portable radio or cassette recorder is I Ulu tut tit
station number in the list. Next, type the
placed on the desk or near the PC to 1 1 :1* 1411
station name on the keyboard and press
lighten the work with a little music with- ENTER.
out annoying colleagues. The PCRADIO control program is left
This PC radio with integrated power on pressing ESC (escape). Next, the user is
amplifier is constructed on an insertion asked whether or not the previously made
card that can be plugged into any free bus *mu changes to the settings and the station list
extension slot on the motherboard of an are to be saved or cancelled. After going
IBM PC -XT, PC -AT or compatible com- through this menu, the user is returned to
puter running under MSDOS control. _Art1.1111 the DOS prompt. The radio remains on,
The PCRADIO menu screen (control pro- however, using the current settings, al-
gram version 1.2). though the control program is removed
Control program and from the computer's memory. The com-
cursor keys puter is ready to load and run other soft-
about 2 MHz per second if the or -4 ware at this stage.
The control software for the radio is sup- keys are depressed longer than necessary
plied on a 51/4 -inch MSDOS formatted dis- for a single keystroke. The fast tuning fea-
kette with 360 KByte capacity. After the ture allows the full VHF FM broadcast For advanced PC users
computer is switched on, this disk is in- band to be covered in about 10 seconds. The following information is aimed at ad-
serted into one of the disk drives. Use the Manual tuning is accomplished by typ- vanced PC users, allowing them to use a
DOS to select the relevant disk drive and ing the required frequency on the number number of special features of the PC radio.
type PCRADIO to load and run the control keys. Automatic station scan is selected on The PC radio kit is supplied with a
program, which is automatically con- pressing the I or L key. In this mode, the diskette that, apart from the previously
figured for the graphics adapter card used <- and =, keys select between scanning up described user software, cointains a do-
in the computer. The cursor keys are used or down from the current frequency. The cumentation file, READ.ME, and an installa-
to select the menu areas shown on the scanner stops when a station is received. tion program, INSTALLEXE. Hard copy of
introductory photograph. The adjust- If the band is empty (hardly likely these the (ASCII-) READ.ME file is obtained in the
ments that can be made include bass, days) or if the stations are too weak, the usual way by typing CONTROL -P followed
treble, volume, manual or automatic tun- radio automatically reduces its detection by TYPE READ.ME and a carriage return.
ing and a signal -level- dependent muting. threshold and starts a new scan. The high Turn off the printer again by typing CON-
The volume area is selected as a default sensitivity mode may also be entered by TROL -P.
when the program is started. The left and pressing the scan cursor keys twice within The PCRADIO program may be made
right keys on the cursor keypad allow the one second at the start of the station scan. memory -resident by calling it up with a
volume to be reduced or increased respec- The relative field strength of the re- switch: PCRADIO <CR>. The program may
tively, while a coloured horizontal bar on ceived station is indicated in the lower be called up while another program is
the screen indicates the relative setting. A left-hand corner of the screen. The 'mute' running by pressing the two SHIFT keys
further volume indication is provided by function allows the level to be defined simultaneously. This key combination
a large two -digit number to the right of below which the AF amplifier of the radio may be changed to requirement as de-
the bar. The volume setting can take is automatically muted. This function tailed further on. The radio settings in use
values between 0 and 63. eliminates noise between stations as the may be changed as described earlier, but
The up and down cursor keys select the scan mode is in operation. It is selected via they can not be saved to disk in the resi-
menu areas. Pressing 1, for instance, the I and I keys, while the <- and -, keys dent mode of the control program. The
moves the PC radio setting from the vol- allow the mute level - displayed in a PCRADIO program is left by pressing the
ume to the treble area, which uses a col- different colour - to be adjusted to indi- ESC key. It may be cleared from the resi-
oured bar and a two -digit indication like vidual requirement. Reception of very dent program memory by typing PCRADIO
the volume setting. Pressing 1. again se- weak signals is made possible by moving /R from the DOS prompt.
lects the bass setting. Here, again, the %- the mute bar to the extreme left of the The installation program allows a
and keys may be used to change the screen. number of hardware and software par-
setting. The menu area in the lower right cor- ameters to be pre -defined. Its menu starts
The next area reached by pressing ner of the screen is reserved for the station with the I/O address, which has been set
from the bass area is the tuning control. name, provided this is among the ones to default 300n on the PCB as well as in the
Press the -) and <- keys to tune up and listed to the left of the screen. Any station control program. Changes may be made
down respectively. The frequency step can be pre-programmed. When it is listed, as required. Next, the system checks if the
size in the VHF FM band is 10 kHz. The it may be selected rapidly by pressing the PC radio card can be addressed in the
tuning rate is increased automatically to associated function key Fl through F10. selected I/O area.
ELEKTOR ELECTRONICS FEBRUARY 1990
PC RADIO
575
47 +S.A.
1,77
do wila
min
, C34 Irt5 loc. iocn la, 1C.
'Si
I22'
2 3,
I
Jim
5,
1E1
Cb
132-
7 S
72-eX 12
AS
IC14
13
S TOR7t2tT
225rw-1. 355
1130:1
Its 1
aci
AZ
'C.3472
11
1.2
!
LIM-1 C32
Min
---* 771- :-+-1
.1111
5CF,
As An MI INE
1: SS
As AS AS
-.--
T. :!cares
011:1= 15131A
TC
- TC17-C:K
:BH
csel,
72201
31/ t2
R71 and R71 feed the tuning voltage to the short-circuits the voltage at pin 1 of the and it can be set, i.e., pin 6 can be made
varicap in the FM tuner. The gain of the TDA1524A to ground to reset the internal low, by a read operation to address BASE -t-2
second opamp is adjustable over a rela- electronic volume potentiometer. After via Depending on the position of
tively wide range to allow the tuning 100 ms, pin 4 of ICs reverts to logic high, jumper JP!, the radio may also be switched
range required to cover the FM band to be
set with preset 1242.
The field strength voltage provided by Off -set address read operation write operation
the TDA7021T is applied to pin 10 of
opamp ICiic. A field strength indication of 0 (basel 05 - DO = 6 -bit DAC for volume control DO = comparator
0 on the screen corresponds to about output for field -strength
1.35 V, and one of 63 to about 245 mV. The measurement
opamp raises the field strength voltage to DO = not used D1 = control bit 1
a level at which pin 12 of comparator ICI Id D7 = control bit 1 D2 = control bit 2
is held at a voltage of between 0 V and 4 V. D3 = control bit 3
The DAC built around IC' and the R -2R
network allow the comparator threshold 05 - DO = 6 -bit DAC for bass control latch data into 12 -bit DAC
at pin 13 of IC114 to be changed. The out-
put state of the comparator can be re- DT; D6 = D9; D8 for 12 -bit tuning DAC
quested at I/O address BASE -I via buffer D7 = control bit 2
1C12.i. Since the output voltage of the
opamp can take values between -5 V and D5 - DO = 6 -bit DAC for treble control turn on AF
+12 V, R04, R70, D4 and Do are required to D7; D6 = D11;1310 of 12 -bit tuning DAC
limit the voltage to 0 V and 5 V. D7 = control bit 3
The remaining three drivers in IC12 are
used to check the addressing of DACs IC.,
IC:- and ICs. 05 - DO = 6 -bit DAC for field -strength turn off AF
The circuit is reset at power -on by a - DO = D7 - DO for 12 -bit tuning DAC
100 -ms long low pulse at pins 1 and 2 of
ICs.. This causes bistable IC5,1C5a to be
Table 1. Input output address assignment on the PC radio card.
reset via gates IC23 and IC5b. Transistor Ti
ELEKTOR ELECTRONICS FEBRUARY 1990
PC RADIO 41
to mute when the PC is reset. Another taken from the PC expansion bus. Note, Construction
possibility to control the mute function however, that the 5 V supply for the anal-
exists in a read operation to address ogue circuits is provided by voltage regu- The complete circuit is built on a double -
BASE_? ( IC33 pin 7). lator ICi 3 - sided through -plated printed circuit
All supply voltages for the circuit are board supplied with the kit. The size of the
w:w
--_=-e- .-77-0-17,:i:: -,--,E;----,
-p. L ?-
.-=---=-14
it - F ..z
1
1 ti
.--g
:7 F:
>
f-A11-
i
.711- -I,
--1
_
I I-
i sc f 1 i
. ,-.
-c
.:
0
-= -I
0--. _
-
+C. -____. 0= 0 .
c. -0
--O_ 0-
*- -- ---0 0-
Q- Q+
"
= 0-
-
-7-
Fig. 3. Circuit diagram of the digital section and the PC -interface of the Ff.1 radio card.
Olt
.,r
.MOMNF
+
0 4.4 ..14.,,,J
.410.41,,C.,.::000114.44144,. 4.4 ,..
0 0
- 0000000
u 330000 C47
0 C5
spoommoolZ,
+ 0 4,
cr CO+ OW ° 0
00 C44u;*
0
45
Riii! C40 01E0 0
00 0 0 C27
00 0 01 c46 c>11-0 7, C29
C43 0
0 @+ 0o 0-1 I-0 Cal ST1
11
o
U ) F
C49
0 00
0 00 00 0 0000 0 0 0 0 0000- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 00 ci) 0
&low r:
0000000000
IC9 'Co
0 0 0 0 000 00 0 0000 0 0 0 0 0 0 00000000000011)-00
IC7 106 O 0
GA P 4:40-0
0 000
ja
C86 C87 0 ,co_olboc:4C42
0 0 o C65
00 00 oo
cga o_
00O oo co 0 00 00
0 0 A oo°
O
o o o o 0 O oo
0 0o 0 o o 0 0 0111F17i10
,%o
0o o 00 0 0 00 0 0 0 Or il9LUO
O
oo o 0 0 O 00
o 0 0
CB 0 0 0 + BAB ,
ID .. -(7 0 139 o 0--._,-*
Li 0 0 0 0 0 0 0 0 0 0 0000000 0 0000000 ,,
O FIB 0 0-0 000 r
° JED-161_
0,_ C521
00000000 °',
1050 0 - O Al 0 o0
0 oIC100 01C120 0 TTTCPO icf ould- 1
00000o PI RH1 Rr
0 R6 0 oi3
00000000000 000000004 +0000000 00 O kb 0
01 F164 100 0 o
000040)01c1)1000 ,,M 0000000 O k4 0 ii4
C24 0 0 0 Kg,./ C53
ooooo0o c7 0 r--,
cr me 0 o IC co 0 0 113
D C19 k C21 C22
colc 1 1 oooooo0 .13 H? 0 0---0
0-1E00 6
00 O
000000 0000 00000000
Odi* 0 c::.
0000000 0-11-0 o 0 0C1 I) (rit
C40 00 o o0ot T C, 1 0
O c 0
70 0 IA C14 O c2:.3
--OR 2 "A C25 00 0
0000000000 , 0,000000000
-003 o0 15 0- 4
-1-C10 0- -0 0
co /469 0 C12 46 o 00
0
00 00 C11 0 WM1 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 III 5
ovil 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 011 i
AC -De CURRENT SON
Current may be measured without introducing losses in its path
with the aid of the well-known series current transformers with
clip -on probes or reed sensorsin which a contact is closed by the
presence of a magnetic field. These devices suffer from a serious
drawback, however: they can not measure direct currents. The
sensors described here depend on the Hall effect and are suitable
for measuring both alternating and direct currents.
The Hall effect The drift velocity is related to the cur - where d is the thickness of the wafer. Note
rem density, j, by that the Hall voltage is inversely propor-
The Hall effect is observed in thin strips of
metal and in some semiconductors. When tional to the thickness of the material.
a strip carrying current is placed in a mag- j= nev
netic field that is perpendicular to the
strip's plane. a voltage appears between where n is the number of charge carrier,
opposite edges of the strip that. although it per unit volume. Thus. the electric field
is weak, will force a current through an related to the vector product of the mag-
external circuit. netic flux density and the current density
by:
The force due to the magnetic flux den-
sity. B. on a charge carrier of charge e and
E = -R11(.lB)
drift velocity. v. is equal to evB. This force
displaces the carriers and sets up a non-
where RH is the Hall coefficient that is
uniform charge distribution that gives rise
to an electric field, E. At equilibrium. the equal to line. The electric field results in
force on the charge carriers, eE. due to this a potential difference. UH. the Hall volt-
field just balances that due to the flux den- age. across the material.
sity: In some materials, the direction of the
eE+ evil =0. field is reversed, which means that these
materials have a positive Hall coefficient.
This indicates that in these materials the
current is carried by positively charged
carriers, that is. by holes.
ElectrOns in an electric field move in
straight lines as shown in Fig. la. whereas
in an homegeneous electro-magnetic field Fig. 2. The Hall voltage. 4. is generated across
they follow cycloidal paths (Fig. I b). In the longitudinal sides of a Hall generator.
degenerate semiconductor materials, they
can not follow such paths owing to fre- Hall generators have come more into
quent collisions with atoms of the semi- vogue with the arrival of semiconductor
conductor material. Because of these colli- materials such as indium antimonide
sions. the electrons lose velocity and this (InSb) and indium arsenide (InAs), which
results in a waning of the magnetic field. have a high electron mobility. resulting in
since the strength of that field is directly a large Hall coefficient. and a low specific
proportional to the velocity of the charge resistance. Table I iliveS a comparison of
carriers. The electrons are consequently the electron mobility (average drift veloc-
attracted more strongly by the electric ity per unit electric field). v. in copper and
field as shown in Fig. lc. a number of semiconductor materials.
When a wafer of semiconductor mate-
rial is connected as shown in Fig. 2 and
placed in a magnetic field, an e.m.f.. the
Hall voltage. UH, is generated across the anent paying
corAxIct
longer sides of the wafer. Because of this. Fatiettect
cere,atOe
the wafer is called a Hall generator. The 17- tn yoke
level of the e.m.f. is directly proportional wated field
to the strength of the magnetic field. If the
direction of the field is reversed. the direc-
tion of the voltage also changes by 18(1-.
Within certain limits. the e.m.f. is Fig. 3. With the Hall generator in the air gap of
Fig. 1. Movement of electrons in: (a) an electric the iron yoke of a current sensor, the Hall volt-
field: (b) a homogeneous electro-magnetic field UH= Rain 1 d age is directly proportional to the current flow-
in a vacuum: and (c) in a degenerate semicon- ing in a conductor that is at right angles to the
ductor material. cross-sectional plane of the yoke.
Note that in spite of the high used in very small air gaps necessitated by
value of v in indium antimonide weak magnetic fields. This may be seen in
this material is not used much be- the schematic representation of a sensor in
cause of the fairly large change in Fig. 3, in which the Hall voltage is directly
r with temperature: over the tem- proportional to the current flowing
perature range 20-120° C. for ex- through a conductor that is perpendicular
ample. the value of v changes by to the cross-sectional plane of the yoke of
a factor 5. the sensor.
There are two types of Hall -effect cur-
Practical sensors rent sensor: direct -reading and compensat-
ing-see Fig. 4 and Fig. 5.
Fig. 5. In a compensating current sensor. the Hall element In practice. the wafer thickness is The main advantage of the direct -read-
generates a current in a secondary winding. of the order of I-5 pm. which not ing type lies in the minimal losses it
only gives a larger Hall voltage. causes. which is, of course, particularly
but also enables the wafer to be important when large currents are mea-
sured. The amplified output voltage. u,, is
directly proportional to current
The compensating type is particularly
Ta ['CI useful at higher frequencies-see Table 2.
tooldary die to
broaxlar y due to setRieothg of The current to be measured is coupled
sedheatng internal dean:rice
of i-ternal magnetically to a secondary winding on
perrrizeoble mnce
the yoke. The Hall element serves as a de-
of load :resistor F tector for the magnetic '0' which is in-
duced with the aid of an auxiliaQ, (com-
re engirded Tend
pensating) current fed into the secondary
t.re to electrical
behavicto
winding. This compensating current is a
very precise measure of the primary cur-
ilelf (A)
rent. This type of sensor is eminently suit-
E.: Fla tni able for measuring square -wave currents.
Equivalent parameters of the compen-
sating sensor may be determined from a
2Cka
celedthe &tit
four -quadrant diagram as in Fig. 6. If, for
detvr-kted by sup*
vellas-e at 1,18= 15V
example. the r.m.s. value of the current to
a'd 3,-5rrt terrperat..te
Ta = EA7C
be measured is 100 A. its peak value is
150 A, and the maximum ambient temper-
£9.7'.Z)S2 It ature is 70° C. Drawing lines at right an-
gles to the three corresponding axes gives
a load resistance of 40-50 O.
Fig. 6. The operating parameters may be determined from a four -quadrant diagram.
vertically.
Block diagram
The waveform generators for the mixing Fig. 6. Block diagram of the modulation board.
effects are shown to the left in the block
ELEKTOR ELECTRONICS FEBRUARY 1990
48 RADIO AND TELEVISION
---7=EEZT=ZZq
0 la
---
4.3
2
//
_A.
Q; 0
\.s
2222
5cooca
.1 1. 4
(.1
1 41
1 >`'0 1
Fig. 7. Circuit diagram of the second unit in the video mixer, the modulation board.
C75
0 0-0 C63
PS 065
2. 2.
0
C76 05 a
00
_i [00) 011-00
C73
oii=0-0.e2 0-4>F0 00
0- r=1-3-0 04ne7}-0
01fa[)2 0110 C61 Q 9n
ces 00
C79
01EGo 899Rat 011-0-0
C101
0-880 0{R 8B 0-11-00
00
00
00
00
_(8)24 0--0 00
00
00
J P10 P11 C 10 0 P7 Cs Oil -0-006s
0 0 C117 CI 0-1 Foo o
P 12 0 2.1
k).o o-o foo C>110
CBS
/ HSYNCO
1 0
xil
0 w01 /0-0 r] (0 ° 00 VSYNCO
0
VSWO
P13
co-r=i-020 OPOC70
C99 -°1,... 43-45'j
u-$ Res I-0
P9
0 0 VKEY0
C) 00.-pLi101 -0 0-{890 }-0 0 HKEY0
C 5 Et 0 0
01100 0- 0 .1.0
0 0-00
O
P22 P18 / C10 2
011-0-0
8117
c81-00
0105r)
C2 0--0co
0-0-1[0 0-0 01100 2,
n°4)410
F-0 0
1
(20-01F0 0
0 041-00 C111
71
co-pe.}-0 1 0-0=2119 1-0
w Iktr- n
0-4P.121}-0 0 e 01 [0-0 C 8
n .1 C B el °C 114 o 0.4R120}.0 Cofp
o -o -I 1-0
,.-L.- 0
}-0
~0 6
cV§E.-)'
6 0 1[0
0 011-0
C10 7
Fig. 8. Component mounting plan of the PCB for the modulation board.
in the three stages. The fairly extensive should not present problems to the experi- in their sockets or, if sockets are not used,
compensation is required to ensure that enced electronics constructor at whom solder them direct on to the board. The
the output of IC36 supplies the exact in- this project is aimed. slide potentiometers are mounted on to
verse of the signal applied to the external Start the construction of the board with the keyboard PCB to be discussed in Part 3
effects input. Control line MC6 is used to fitting all the wire links. Next, mount the of this article. Set all presets on the modu-
select between the inverted and non -in- solder pins, connectors and IC sockets, if lation board to the centre of their travel.
verted version of the vertical effects volt- used. Check your work so far and proceed
age. with the passive parts and the single To he continued next month
diode. Be sure to observe the polarity of
Construction the electrolytic capacitors and the diode.
Next, mount the voltage regulators and Part 1 this article appeared in the January 1990
The single -sided printed -circuit board for bolt them straight on to the board - heat - issue 0: EieCITOniC5.
the circuit is shown in Fig. S. Construction sinks are not required. Lastly, plug the 1Cs
ELERTI)R ELECTRONICS FEBRUARY 1990
VIDEO MIXER PART 2: MODULATION BOARD
- - ,-
/
.
-130c1/3 Size 330 x 175 x 100mm.
PRICE £79.99 £4.50 P&P.
FEATURES:* kte;endmpower .ipp:esver.rttwa Tcroctal Tra-alarers * Two LED. Vu roz=xers =
r-ix-cceo
crail
e; annis I krinatai
* Lee: eR Mrs-Fea
ce co news *Swaim 775riV iro.ts * Open and mat
Vess free power crel..irf riDvrtAty arty 'dad * Hgi Sea rate * Very km
* ktrinurn cases * IiIXF6C0 Fan Coe: A".1 DC. laitspez.ce arri Thermal Preacen.
1470..LE5 fit 4.4L44.£ _
FE: .PFC:35.5...-.N4... CaFA7.18.E. - USED THE WORLD OVER IN CLUBS. PUBS. CINEMAS. DISCOS ETC.
SIZES:- MXF 200 W19' H3', (2U) - D11
Vu METER Cc., -;,74-: 42 z.--_--__-:.'- ._._;z.,_:
. E. MXF 400 W19 HS' (3LI) 012
MXF EC,0 W19 H5' (3U) D13
MXF200 £171.35
ParCE £530 - 50p P&P PRICES: MXF400 £228.85
MXF600 £322.00
SECURICOR LL-Lil. ER .2 EACH
LOUDSPEAKERS
LARGE SELECTION OF SPECIALIST LOUDSPEAKERS
OMP LINNET LOUDSPEAKERS IN CAR STEREO
. AVAILABLE. INCLUDING CABINET FITTINGS. SPEAKER THE VERY BEST IN QUALItY AND VALUE
BOOSTER AMPLIFIER
GRILLES. CROSS-OVERS AND HIGH POWER. HIGH FRE-
QUENCY BULLETS AND HORNS. LARGE S.A.E. (30p 'JADE a.. -
.00 -aDAY S
STAMPED) FOR COMPLETE LIST.
McKENZIE:- INSTRUMENTS, P.A., DISCO, ETC.
ALL McKENZIE UNITS 8 OHMS IMPEDENCE
W 100 WATT C8103GPIA GEN PURPOSE LEAD Gui70,, EXCELLENT MID. DISCO
RES. FR E0,60HZ Eo, RE S P. TO1-14.ffiz SENS. 9920 PRICE E.29.30 + £2.00 P&P TWO SUPERB HIGH
10' 100 WATT C10100GP GUITAR. VOICE ORGAN. ;KEYBOARD. DISCO. EXCELLENT MID
RES. FREO 70Hz FREQ. RESP. TO 6Ktiz SENS. 1CCoS ...PRICE £35.58 + £2_50 P&P ii;;:- POWER CAR STEREO
.
y-CCEL, t .
10- 200 WAIT C10200GP GUITAR, KEYBOARD. DISCO. EXCELLENT HIGH POWER MID 012 BOOSTER AMPLIFIERS
RES. FREO. 45Hz FRED RESP.TO7KHz SECS. 10303 PRICE £48.67 £2.50 P&P
IT 100 WATT C121000P HIGH POWER GEN. PURPOSE. LEAD GUITAR. DISCO. CHOICE OF TWO MODELS
RES. FREQ. 45Hz FREQ. RESP.TO 71O1z SENS. 9529 PRICE £3759+ £3.50 P&P
IT 100 WATT C12100TC TWIN CONE) HIGH POWER WIDE RESPONSE PA VOICE. DISCO POWER RATINGS QUOTED IN WATTS MIS FOR EACH CABINET
RES, FRE0.45Hz FR EQ. RESP TO 14KHz_ SENS tO0oB PRICE £38.58 ÷ £3.50 P&P
12.200 WAIT CI220013 HiGH POWER RAS S 7'.F:.=",:s pECO. P
RES FRED HZ FREQ R -SP TO TKHz OMP 12-100 (100W 100dB) PRICE £159.99 PER PAIR
_ PRICE £65.79 - £3.50 P&P
IT 300 WATT C12300GP HIGH POWER -- Y BOARDS . DISCO. ETC OMP 12-200 (200W 102dB) PRICE 11209.99 PER PAIR
RES FRED. 45Hz FREO. RESP. TO 5KHz 5.;" PRICE £87.51 - £3.50 P&P F. -=5: i OTT U] CC
15' 100 WATT C15100BS PASR GUITAR . SECURICOR 0E1_,- 113.W PER PAIR YVATT IS5 - WS'S? EACH
RES. FRE.0.40Hr FRED RES?. TO5KHz E _ PRICE £55.05 £4.00 P&P
15- 200 WAIT C1520011S VERY HIGH PC: P1E0 ELECTRIC TWEETERS -MOTOROLA
RES. FRE0.40i44 FREO.RESP. 70410-1.2 PRICE £75.10 - £4.00 P&P FIEZO ELECTRIC TWEETERS - MOTOROLA
15- 250 WAIT C15250BS VERY HIGH PC:.
RES. FRE0.40Hz FREO. RESP, TO 4K1-Ir PRICE £82.54 £4.50 P&P __ _4A,-_
15' 400 WATT C15400BS VERY HIGH PC:'. C.1:1 :zer is not rac...1.7t-cznese,ro's can
RES. FREE:1,40Hz. FRED PESP TOAKHz S PRICE £96.47 £4.50 P&P ceaidA.7.70 a -!,.-c ": *1 2_7 Se -a FREEEXPLANATORY LEAFLETS
ir 400 WATT C18404BS - =E:;_rENCY BASS SUPPLIED WITH EACH TWEETER_
TYPE 'A' (KSN2036A) 3' round with protective wire
RES FRED 27Hz FRED PRICE £172.06 £5.00 P&P mesh, ideal for bookshelf and medium sized H.41
EARBENDERS:- HI -Fl, STUDIO, IN -CAR, ETC. speakers. Price £4.90 each + 50p P&P
ALL EARBENDER UNITS 13 OHMS : ; - --- TYPE (KSN1005A) :" super Nom_ For general
BASS. SINGLE CONE HIGH COMPLIANCE. ROLLED FOAM SURROUND purer ca sceakers c sco and P A systems etc. Price
8' SO WATT EE111-50 TAPP:, =ASS 1-A, IN -CAR £5.99 each 6.13O P&P
PRICEC8.90 £2.00 P&P TYPE 'C' (KSN6016A) a 5' w,dectisperson horn. For
10' SO WATT EB10-50 _ = _ 0035 HI -El, tN-CAP quakty Hi -fl systems and cwaf.ty riscos et: Price £6.99
RES FREO. -*HZ - PRICE £12.00 - £2.50 P&P each + 50p P&P.
10" 100 WATT Esti o -I C q TYPE 'D' (KSN1025A) 2' 6' wide clsza-..1 :7. nzrn.
RES. FRE0.351-12 - PRICE £27.76 - E3.50 P&P Upper frequency response retained extend. ng Conn to
IT 60 WATT EB12-,,.. and (2104z). Sutati4e tor high quality Hi -f; Sys-12MS
R ES. FRED. = PR10E£21.00 £3.00P&P
17100 WATT EB I 2.1: and quality discos. Price £9.99 each + 50p P&P.
RES FRE0.264-;.- PRICE £38.75
TYPE 'E (KSN1038A) horn tweeter with attractive
£3.50 P&P
FULL RANGE TWIN CONE. HIGH COMP LIANCE. ROLLED SURROUND f'n -z-An tom Sutable for roorttor systems etc.
57'." 60 voca E195-60TC - .. '
-4qRAY DISC:
Price £5.99 each 4- 50p P&P
LEVEL CONTROL Combines on a recessed mounting
RES FREQ.63Hz FRED 741-
6.: 60 WATT E136-60TC
RES PREO.38HZ FRED =E
PRICE£9.99 - £1.50P&P
':3
_-- PRICE E10.99 - £1.50 P&P
le.e! ccnJol and caznet Input ;an: socket.
E5 -r,+ Price £3.99 - P&P.
60 WATT EB8-60TC _ E2
RES. FREQ. 404;tz FREQ. RE ., PRICE £1299 £1.50 P&P STEREO DISCO MIXER
10' 60 WATT EB10-60TC E -C
RES ;RFO FRED REE, PRICE £16.49 - £2.00 P&P STEREO DISCO MIXER 7.- 2 E. : a- 7 _ -
graph =C aqua; sers a r
TRANSMITTER HOBBY KITS Vu Meters. Manyoulstandir.g features E
PROVEN TRANSMITTER DESIGNS
PANTED CIRCUIT BOARD AND HIG'
' _ 2 CLASS -
COLIRC't
wrtn ;MEI:dual faders
tmaban of the follow -
. -Z3 ::.n-
3 Tumtab4es (Mag) 3 `? L -a CD
COMPLETE WITH CIRCUIT A.: P...CTIONS
rx
plits M.c tatK over se.-.=---1Heaopr z-, .'c -n-
tor. Pan Pot L & Master
gia 44, gaM imp 11,
TN FM MUMMER 9:-ICEAM.7. C:+":-.:,..__EF507-.S.CNAL FER Output 775mV. 52e 360:. 280 90rnnl S4i2ty
;:4/ANCEF..02 LFTG3,MU'S WE 33 ILIzr-. SLPFLY my: f;:',A&V. 220-2407.
PRCE - DEE FOP 3 war: P.1 Price £134.99 - £4.00 P&P
ni TU./01TM -2.L^ CCIURFE virrq Transmitter
RANGE ; pka
Q67 -El EC PIA
B. K. ELECTRONICS Dept EE
111111
V71.4 UNIT 5, COMET WAY, SOUTHEND-ON-SEA, ESSEX. SS2 6TR
TEL: 0702-527572 FAX: 0702-420243
by T. Wigmore
The monitor unit enables the system to read signals from, for in-
stance, the rails. This makes it possible to determine the position
of any train at any one instant. Monitor units are indispensable
where track sections are protected via a host computer or if the
running schedule is controlled by the computer.
The monitor units have eight digital inputs the serial reading of the monitor units can trailing edge of this pulse. After the data
and 62 of them may be used, so that a total only take place when the host computer have been loaded, the system reads them
of 496 inputs can currently be provided in has issued a status request instruction via serially from the shift register. If more than
the system, but this number may be dou- the RS232 bus. one monitor unit is used, the shift registers
bled in the future. The bistables in the monitor units also are cascaded so that they may be read as
Note that the monitor units are not ex- ensure that even very short input signals one large shift register.
changeable with decoder Type s88 from to the system are acted upon. The number of data bits that the system
Goppinger. Those decoders have 16 inputs Resistors RI-Rs form some protection has to read does, of course, depend on the
and are interconnected via a 6 -way instead for the inputs and also, in conjunction with number of monitor units in use. To prevent
of a 5 -way connector. CI-Cs, suppress noise pulses. time being wasted in reading data of non -
The circuit of the monitor unit is fairly connected monitors units, the system car-
simple as may be seen in Fig. 70. It is based ries out a self -diagnosis at power -up and
on an 8 -bit shift register Type 4014 (ICI) Self diagnosis reset, when the number of connected mon-
that reads the parallel data at the eight in- When requesting the status of the monitor itor units is determined automatically. All
puts serially. The inputs are not connected units, the system loads the position of the bistables are then reset and read immedi-
direct to the parallel load pins of the regis- eight bistables in IC2 and 1C3 into the shift ately.
ter but via eight R -S bistables (IC2 and register, la via a pulse at pin I of Kt. The The serial input of the last shift register
IC3). This is done in this manner because bistables are reset automatically by the is shorted to the positive supply line via
Ris, which causes the system to read eight
times '1' immediately after the data of the
K2
last monitor unit have been received. In
t®7
DIN S this way, the system knows that the last
5V
unit has been read.
+ 3 1
55 ilto Ril RI 513 RI 515 515, 5171 52;. At each subsequent status request, the
g.
0 ' o 0 n
518 9 system takes account of the number of ac-
tually connected units. This self -diagnosis
130
RI e R1
0 9
causes a small limitation: on power -up, it
Si
52 12
is not permissible for all eight inputs of a
10 EMI " 53 1C2
02 monitor unit to be active simultaneously,
53 4 Ro 4044 13
because that would indicate that the unit
20 EMI 3 SO 11
was the last in the row.
14 0 SEA
30
54
o _1 If the status of a non -connected unit is
ECM 1
150
requested, the error LED lights. The num-
16 51 a' " F OF
ber of monitor units may also be deter-
'3 7. ICI CG 12
5V
0 4014
CH 3
mined via a separate RS232 instruction
15 5 8
S C
(see Table 8 in last month's instalment).
55 e RP 5 '0t 7
40 WO 7 51
...1...' 'LI
R6 i2
50 E311 "
R2
52 1C3
02
10
8 9 10
Construction
6d
57 1 4 Po
SG
4044
Oo
3
The construction of the monitor units is
Rli 14 simple and is best carried out on the PCB
70 03 ' shown in Fig. 71.
t553
I CI C2 CI ciiiCCI C7 Ca
C3
MIN MIN MIN NM
7707070470nTIOTICto
CR
MIN MS MN NMI
Tie
Before the board is fitted in the enclo-
sure specified in the components list, two
corners (indicated on the board) should be
cut away as shown in Fig. 73.
The monitor units are interconnected
87591-515- 11
x vv
-1,/,
DI? 5
via fairly inexpensive 5 -way DIN connec-
tors_ If they are going to be used in fixed
locations, soldered connections, with or
without the use of soldering pins, are, of
course, perfectly all right.
Fig. 70. Circuit diagram of the monitor unit. Connexions to the inputs may also be
ELEKTOR ELECTRONICS FEBRUARY 1990
54 GENERAL INTEREST
soldered, but if the board is fitted in an en- section should be at least as long as
closure, preference should be given to the the largest wheel base of locomotives
use of 2.5 mm plugs and sockets. and coaches used: this results in one
long signal instead of a series of
Connecting up and shorter ones. Cut the rail at an angle
rather than straight across: in that
actuating the inputs way trains will have a smoother ride
Monitor units are interconnected via Kt over the section.
and K2. The arrow shown near these con- Where a standard rail system is
nectors in Fig. 70 must always point to the used, the detection methods shown in
mother board. If this is not observed, the Fig. 74 or Fig. 75 should be used.
system will not work, although nothing The isolated section of rail in
more disastrous will happen. Fig. 74 is powered via two anti -paral-
All connector pins must be connected lel -connected diodes. It does not mat-
to the same numbered pin on the connec- ter whether the diodes are connected
tors in other units, preferably by the use of to the brown or the red terminal.
ready-made non -twisted, 5 -core DIN cable. Rails sections from which no signal is
The total length of cable between the units required may be connected direct to
is of no importance to the correct operation the booster unit.
of the system. A disadvantage of the method in
In principle, a monitor unit is actuated Fig. 74 is that only powered rolling
when the brown wire or rail of the system stock can be detected. If a train loses
is connected to earth. For this purpose, two one or more coaches, these will be 'in-
earthing points are provided on the PCB. It visible' to the system Therefore, the
is also possible to actuate it by connecting circuit in Fig. 75 may be preferred.
an input to the red wire of the system, but The output of the comparator in that
not if the system is in the STOP mode. circuit is actuated when a relatively Fig. 71. Printed circuit board for the monitor unit.
high resistance exists between the
Electronic train detection two rails. By providing coaches with a
10 k resistor as shown in Fig. 76, they can COMPONENTS LIST
Signalling to and from locomotives and also be detected by monitor units.
Resistors:
coaches is often performed with the aid of R1-RB=10k
reed relays. Both from a technical and an R9 -F117 =100 k
aesthetic point of view, this is not a good Status requests 1418.47k
way of doing it: electronic means are invis- The status of monitor units can be re - Capacitors:
ible and seldom fail (which can not be said gusted only via the RS232 interface. After =
of reed relays). power -up or a reset, one or more groups of =
If Marklin rails are used, M -sections are two bytes from two successive monitor
available in which one rail is isolated from units (that is, groups of 16 inputs) are sent Semiconductors:
ICI = 4
the 'metal gravel' base. This isolated sec- in response to each status request instruc- IC2: iC3 =
tion is simply connected to one of the in- tion. This is done in this way to ensure full
puts of a monitor unit. compatibility with the NIarklin Digital Sys- Miscellaneous:
Where K -rails (which are isolated from tem. However, as explained in Part 10, if Kt: K2 = 5.way DIU connect)! for PCS imourm-ng
En.osurei OKV/ Type A4407111
each other) are used, a section of one rail desired, the monitor units may be made to 10 pairs of 2_5 mm plugs and sockets (see text)
may be isolated from that rail by two saw react individually. PCB Type 87291-8
cuts as shown in Fig. 72. The length of this
Fig. 72. How to connect an isolated section of the track to a monitor unit (black arrow points to input Fig. 73. The finished board fitted in the specified
on monitor unit). In the illustration. use is made of Marklin rails. enclosure; note the cut -away corners.
Fig. 76. Providing non -powered rolling stock with a 10 ki2 resistor enables
it to be detected with the aid of the circuit in Fig. 75.
Fig. 74. This circuit for electronic train detection can locate only powered
rolling stock (locomotives and coaches with lighting).
Request instruction <192+n> in = 1-311
5V
(2n - 1) unit 2n unit
WIPE
1-30n
CiPt77 Fig. 77. Composition of bytes sent by the system in response to a status
R2 - metaTeR request via the RS232 interface.
Mala
I
EEDTS
booster 01 02 03
1 6
B ATS5
LM339
LM393
2--
.,ax
01377.
MR, $
Fig.
Fig. 75. Circuit of a sensitive detector system that is actuated by a rela- Fig. 78. Additional circuit for obtaining proper overload protection when
tively high resistance between the two rails. more than one booster is used.
System miscellany with the ULN2001 hut not entirely to spec- Parts published so far.
ification.
Locomotive decoders (Part 2). Part 1. Marklin system (description).
It appears that loc decoders can be affected Using more than one booster (Part 6). Part 2. Loc decoder (description).
by switching instructions intended for If the size of the track makes it necessary Part 3. Loc decoder (construction).
points and signals. This can be prevented for several booster units to be used (when Part 4. Universal signal and switching
by increasing the value of RI from 12 kS2 to each booster powers a section of the track), decoder.
33 kfl or even 39 ka a small addition is necessary to provide ['art 5. Description of Elektor Electronics
adquate overload protection. The circuit system.
Switching decoders (Part 4). for this is shown in Fig. 78. It is basically a Part 6. Booster unit.
An error has occurred in the circuit dia- composite OR gate that detects overloads ['art 7. Mother board (description).
gram and components list. Circuits ICs in up to five booster units. If any one Part 8. Mother board (construction).
and IC6 should be Type ULN2003 and not booster unit becomes overloaded, the en- Part 9. Keyboards.
ULN2001 as stated. The decoder will work tire system is placed in the STOP mode. Part 10. RS232 Interface.
BIPOLAR AND MOSFET MODULES 120 x 120 x 38mm Now available in 12V.dc. 115V. ac. 230V.ac.
The unique range of encapsulated amplifier modules £7.00 - £2.00 p.p.
with integral heatsink.
HY.33 S £11.50 HY248 12UN BLo-1, am= (Bohm £25.20
HY60 "110 6,p.ois, amp £11.50 HY364 180W r 1. 4.ottrn £39.25
HY6050 30iY Stereo Elipcia, amp £24.45 HY368 I EON , - Bohm £39.25
HY124 60W Bipolar amp 14ohrh! £19.00 1.105128 6(74 1.-o £40.70
HY128 60W BiP7iar amp (Bohm', £19.00 1505248 120ei - .-3 £46.35 CASED £20.00 - £4.50 p.p.
H',234120,; £25.20 180., £75.75
PLATE AMPLIFIERS
Bipolar and Mosfet modules with the same
electronics as above amplifiers housed in a Vie have ust received a batch of Assorted Mcdu!es ALL AT PRICE
different extrusion without heatsink.
HY6060P 3044' Stereo 9 ioc'er amp. £20.10 HY3/344, 1601. 0 _... = = = 4 - V..5.91 6)1
HYf24P 60W Bipolar o-ro (4 ohml £14.65 t83265P 180W 6 ;,. .- a - , = ,-- E-25.99
HY128P EON Bipolar rm.° 18 ohm) £14.46 Y051221 670i V.V.. E-7. 9.10.50
HY244P 120W Broolar ampl4ollm! £220.10 0524.61,120W M: -.1,s.. =_= r.-39.93" MANY AVAILABLE AT BELOW TRADE PRICE
1:1,6 (5 9-2-0.10 v.:9192P I .9-?..., V.:1,.. _ .. . . £95.96
8. Reflex MW AM receiver
J. Bareford
Radio techniques even at the most fun- parison with the selectivity of the
damental level will continue to fascinate superhet, it is none the less interesting to
electronics enthusiasts because a handful build as a first ever electronics project.
of components work the miracle of wire- Again making the comparison with the
less reception. This month we save a once superheterodyne receiver, the direct con-
popular circuit from oblivion. The radio version type is inexpensive, uncritical,
fascination catches on with this reflex AM and free of interference effects. What is
receiver, sporting one tuned circuit for more, it provides quite acceptable sound
medium -wave reception. quality.
The so-called direct conversion receiver
forms the basis of all radio receivers. In its
most rudimentary form, it provides an Flashback or start
aerial input, a tuned circuit to select the The circuit diagram of the simplest of re-
wanted RF signal from many others trans- ceivers, the direct conversion type with-
mitting in the same band, and a detector out RF or AF amplification, is shown in
to extract the modulation signal (i.e., the Fig. I. The combination of an inductor in
information) from the carrier. In a more parallel with a variable capacitor forms a
elaborate design, an RF- and an AF- am- tuned circuit that resonates at the transmit
plifier may be used before and after the frequency of the station to be received.
detector respectively. The direct conver- One side if the tuned circuit is connected
sion receiver differs from the super -he- to ground, the other side to a small capa-
terodyne receiver in that it does not use citor that takes the RF signals from a long- Fig. 1. The one advantage of the diode re-
frequency conversion of the received RF wire aerial. The detector, a semiconductor ceiver is that it does not need a power sup-
signal at any stage. Although the direct diode, is connected to a tap on the induc- ply. The circuit is. however. useless without
conversion receiver can not stand corn - tor. This is done to reduce the loading a large aerial and an earth connection.
(damping) effect on the tuned circuit,
which would degrade the selectivity. The
RF component, i.e., the carrier, is shorted
to ground by a capacitor at the anode of
the diode. The resulting AF component
can be heard in the high -impedance ear-
piece connected across the capacitor. The
one advantage of the circuit in Fig. I is
that it does not require a supply voltage.
The disadvantages, however, are more
important: sensitivity is poor, and the AF
output signal is too small in many cases.
The addition of a FET (field-effect tran-
sistor) and a resistor as shown in Fig. 2
results in a better receiver. The FET pro-
vides considerable AF amplification and
at the same time, by virtue of its high
input impedance, allows the detector to be
connected to the 'top' of the tuned circuit.
This makes this type of receiver fairly sen-
sitive.
It is definitely worth while to build the Fig. 2. The amplifier in this modified diode
circuit of Fig. 2. A few hints: use a wire receiver raises the sensitivity of the basic
aerial of at least 5 metres, and connect design considerably.
ground of the circuit to the water supply
ELEKTOR ELECTRONICS FEBRUARY 1490
58 INTERMEDIATE PROJECT
RF amplification
It will be clear that an RF amplifier as
drawn in Fig. 3 is required if the receiver
in Fig. 2 is to work with a much smaller
(shorter) aerial, and without the connec-
tion to earth via the water supply or the
domestic CH system. Also note that the
germanium diode has a threshold voltage
of about 200 my, which makes reception
of signals below this level impossible -
weaker signals are simply not detected. If
the RF amplification is high enough, the
tuned circuit may double as an aerial, ob-
viating the long wire. A second tuned cir-
cuit, identical to the one already used,
may be added to improve the selectivity.
A further improvement that requires no
extra components is shown in Fig. 3b. A
choke is connected to the output of the RF
amplifier, and the detector is not con-
nected to the headphones, but fed back to Fig. 4. Circuit diagram of the reflex receiver based on dual -gate MOSFETs. The L -C tuned
the 'cold' side of the tuned circuit. The circuit at the input doubles as a compact aerial for medium -wave reception.
result of this configuration is that the am-
ELEKTOR ELECTRONICS FEBRUARY 1990
REFLEX AM MW RECEIVER 59
receiver and the 9 V battery to be built into
a miniature enclosure of the size of, say, Parts list
two match boxes.
If you consider size less important and
at the same time want to go round con- Resistors:
structional problems, build the circuit on 1:11;1:12 = MAO
Hard disk monitor one at the instant of switch -on, and one as
the exit door is opened for departure be-
December 1989, p. 54
The parts list is not in agreement with the
CORRECTIONS fore the end of the 15-s switch -on delay.'
In the circuit diagram, Fig. 2, the diode
circuit diagram, and should be modified across Bzi should be numbered Die, not
to read: R23, not D12. Capacitor C2 is missing: it is an 10 uF
electrolytic type connected between the
RI -R7;Rii;R13-1116;R2o = 100k +12 V and ground rail. Finally, the inset
= 22n I/O extension for text 'D1...D8 = 1N4148' should read Dl,
Archimedes D2,173,D5,D6,D7,D8,D10,D12= I N3148.
Simple transmission line November 1989, p. 14-15
The parts list should be modified to read: 31/2 -digit SMD voltmeter
experiments IC3 = 6522-2
The circuit diagram in Fig. 2 contains an November 1989, p. 37-41
September 1989, p. 38 error: R4 should be connected between The obsolete half -digit LED display Type
The value of R2 in the experiment should ground and the +input of ICi. The printed - HD1108 from Siemens may be replaced by
be 225 52, not 43 O. circuit board is all right and requires no Telefunken's Type D29xPK, where 'x' in-
modification. dicates the colour: 0 for red, I for amber,
Logic analyser with Atari ST 2 for green and 3 for yellow. These dis-
plays are also available under new type
October 1989, p. 30 Intruder alarm indications as TDSR3120, TDS03120,
Please add to the parts list: November 1989, p. 45-47 TDSG3120 and TDSY3120 respectively.
R3:114;Rs - R12 =100k Telefunken also manufactures equival-
The references to Cs in lines 6 and 7 of the
Cs = 100n ents for the HD1105: the type numbers are
last full paragraph on page 45 should read
The control program (ESS111) is suitable Ci . TDSR3150, TDS03150, TDSG3150 and
for monochrome systems only. The reference to Rs in the third para- TDSY3150.
graph under Alarm sensing should read Distributor information on Telefunken
LF/HF signal tracer R9. components from AEG (UK) Ltd. 217
December 1989, p. 22 The first full sentence in the centre col- Bath Road SLOUGH SL1 4AW. Tele-
The resistor next to preset P3 on the umn on page 47 should read phone: (0753) 872101. Fax: (0753) 872176.
printed -circuit board should be labelled 'Two assurance bleeps are generated:
provide a hundred or more amps, quite "As explained in the article. the pulse Phone (08444) 3953 for details.
sufficient to destroy this circuit and most repetition rate is a junction of the current
of anythine that had the misfortune to be demand of the load and has a 171aXin111111 WANTED. Circuit diagram for Telequipment Senri-
connected to it. value of 30-50 kik. The reason that the scope. H.L. Eamshaw, 58 Prices Lane, REIGATE
The author claims that power rises ex- skin effect is significant is that the charge RH2 8AY, Telephone (0737) 221480.
ponentially with current. When I went to pulses have a fixed duration of 100 p5 or
WANTED. Elektor Electronics AP Frequency meter.
school, power was directly proportional to so. which means that they give rise to a
Capacitance meter and Inductance meter. Phone
the square of the current. I do not believe large number of harmonics. These har-
01-594 7754 after 6 p.m.
this has changed. monics moist be passed by the inductor
Is skin effect really significant at the wire without attenuation to maintain the WANTED. Eno ,sn manual for NEC PC6001 series:
audio frequencies which the author sug- pulse rise and fall times. Fourier analysis also exchange software for IBM PS 2 on disks.
gests are used? At 20 kHz, the skin depth is required to establish the actual skin Hamidreza Madjdabadi. No 30 Western 194 St.,
might of the order of 0.5 mm. If this is sig- depth. but this would be a superfluous lux- Tehranpars, TEHRAN 16538. Iran.
nificant. the author should justify his ury in this kind of article. The recommen-
claim. dation to use a number of thin parallel - FOR SALE. Components owing to giving up hobby.
B.A. Jones, Cheltenham. connected wires rather than one thick one Too numerous to list so ring for details. Offers in-
ensues from a series of practical experi- vitedtotWievihotelot. Gordon Brown. 72 Bury
jEdJ Hill. WOODBRIDGE IP12 1JD. Telephone (0394)
Air Jones has further pointed out that the ments on my prototypes".
385652.
point °l ids constructive criticism was that
many of those attempting to construct pro-
FOR SALE. Tektronix 575 curve tracer. Hartley
jects published in Elektor Electronics are scope 13 A. Creed 444 silent cover (free 444). Best
beginners who need everything explained
in detail, a sentiment with which 1 agree SWITCHBOARD offers. 13A snare manuals £2.50 inc! R.A. Lord,
22 Elizabeth Crescent. EAST GRINSTEAD
wholeheartedly. and which will certainly RH19 3JA.
he borne in mind in future. Switchboard allows all PRIVATE READERS of
Elektor Electronics one FREE advertisement of
The author comments: "The article up to 108 characters. including spaces. com- DESIGN SERVICE. _ow -cost PCB CAD arc manu-
states clearly that the converter is not pro- mas. numerals, etc. per month. facture. s or :F:o. to your design.
tected against short-circuits and that a Write the advertisement. which must re- Small or large quantit,c-.s Phone Dave at (0463)
16 A fuse must he inserted between it and late to electronics. in the coupon on this page: 790006.
the battery. On reading Mr Jones' com- it MUST INCLUDE a private telephone num-
ments, it might perhaps have been better ber or name and address: post office boxes are WANTED. Manua! c
not acceptable. oscilloscope Type 317. Phone Howard at (0272)
to have shown this fuse in the circuit dia- Elektor Electronics 'Publishing) can not ac-
gram but. as a rule. parts that are not on 658191.
cept responsibility for any correspondence or
the PCB are not shown (to maintain the transaction as a result of a free advertisement
PEN FRIENDS. lam interested in pe'
proper relation between parts list. boom' or of any inaccuracy in the text of such an ad-
vertisement_ all over West Germany. Mohammed Etminan. Shi-
and circuit). Moreover. the provision of raz University, School of Engineering. SHIRAZ,
short-circuit protection would have Advertisements will be placed in the ord,,r
in which they are received. Iran.
increased the cost and complexity of the. Elektor Electronics i Publishing) reserve
converter". the right to refuse advertisements without giv-
"It is true that a car battery can supply ing reasons or without returning them.
very high currents. but long before these
have risen to unacceptable levels. the 16 A PEN FRIENDS. I am an electronics engineer and
fuse. and possibly resistors R2 and R3. am interested in pen friends on electronics. comput-
choke LI and diode 1)1. would have given Send this coupon to: Elektor Electronics
ers and other allied subjects. Mohammed Granter,
up the ghost. Moreover. 'anything which (Publishing), Down House, Bronmhill
Damavand Ave, 15 Metri 4th, 8 Metri 6th, No. 10 Road, LONDON SIV18 -1.1(2.
had the misfortune to be connected to it Post code 17318 Tehran, Iran.
(the converter)' will not be damaged by a Block capitals please -one character to each box
short-circuit at the output terminals of the WANTED. Sweep function generator up to 150 kHz
converter. since its input voltage is then to include triangle to ramp wave output. Phone
=em".
1
(0267) 275437.
"What you have learned at school
about the relationship between current FOR SALE. New 12 inch black and white video
and power and what 1 sag about it are not monitor with sound input; takes 1 V composite; £50.
Phone (0704) 214594.
in disagreement. I feel you may have con-
fused the adjectival and noun uses of the
FOR SALE. Tektronix 545 oscilloscope plug-in unit
word 'exponential'. An parameter that style in good working order. £90. Phone (0732)
varies in accordance with the power of a 350691 any time.
quantity does so 'elponentiallv'. whether
ELEKTOR ELECTRONICS FEBRUARY 1530
that potter is 2. 5 or e (=2.72). Only when FOR SALE. Elektor Electronics nos 24. 43. 45, 49.
the power is 1 do we speak of direct (lin- June '81 -Dec '83 (except April '82): 31 copies £20 ,..--E- -7-_-:::::iss MUST ce ,-. ,
ear) proportionality". (Note: I agree with plus post. J. Brown, 74 Humber Ave, South Ock-
Mr Jones (in a follow up letter) that the endon, Essex, RM15 5JN.
words 'exponent' and 'exponentially' are
well defined in mathematics and should FOR SALE. Computers IBM XT £490 ono up to
not be changed 'at the drop of a hat'. Ed). AT386 £1290 ono. Many accessories also available.
DAkK-200AT CLOCK
A. Rigby
segment HEX
EPROM as a decoder g f e d C a
The EPROM used in the dark -room clock read-out
is essentially a programmable logic device
(PLD), whose combined functions allow none 0 0 0 0 0 DO
the remainder of the circuit to be kept
relatively simple. The 8 output lines of the 1 i 1 1 1 1 3F
EPROM are used for display segment con-
trol and sounder control. Each address 0 00 1 1 0 06
location in the EPROM is programmed to 2 0 0
i 1 1 1 1 1 5B
supply a bit pattern that determines 1 -
space into two blocks. One of these en- 07 = buzzer on. D7 = ''0": buzzer off
sures that the sounder is actuated every
30 seconds, which is useful during the de- Table 1. The databits loaded into the EPROM control the display segments and the
velopment of films. The other block is pro- time-lapse buzzer.
5V
R2
ALARM
4
0
4
90s
3 fl5
reset
DI
6 6
7
St
3 2
112T
Ds
5V
-A iJP 2
'Os 13
15
Rt9
C
2Ot 271
5V 7.476 LD1 LD2 LD3
APP PD4 14
26 413 Re TDZ 14
II
on 2 412 DO II O1
OM 23 411 DI 12
t2 MIR
13 21 D2
to 3 IC5 am 13
09 410
12 03
C3min oa
13 2S
AS
IC4 134 15
14
uur 12
ici 07 4 De 17 5 2004 - 11
1100n OS 15 06 0
2 te 7
67
rA 4 A5 EPROM De 17
4040
04 3
6
5 45 "
27128 D7 - Rte
03
7
02 6 "3 5V
7
01 #2
9 B
eon OLXOD
B 10 1? bsael
RI
22 141 20 oe/off = 74HCT139
RIB if LD1...1.04 = 7751 (Common Anode)
Di_D7 = 1N4148
D JPI
71...T4 = 8C5578
C better off Rai
3 14 6
013 07 06 18 5V
1C2 0
4060
12 11
R3
C2
2TOrt ll-412200
T 32:7614210
-r MML 894027.12
Fig. 2. Circuit diagram of the dark -room clock. The heart of the circuit is formed by EPROM IC4.
Parts list
Resistors:
R.= 100k
Pa= 10k P S BB4027
= 10M
R4 - R7:R ti5;RI7= 1k0
'1 P5 T2 P5 ra T.a
0
Re - R15 = 470 O 0 xy
Rla;Ris.= 4700 Lc13 L..
Capacitors:
CI;C2 = 220p
C3 - C5 = 100n 0
C7 = I GOA: 25 V
o^1 CV .r)
Semiconductors: O 00 000
Di - D7= 1N4148 O
N:Ds = LED; red; 3 mm 0
0
- LD4 = 7751 (common anode)
- T4 = BC5575 0 00
0
MTh= BC547B O
0
IC, = 4040
IC2 = 4060 0 0 0000
1C3 = 74HCT139
1C4 = EPROM 27128. Available ready -pro-
grammed under order number ESS 58-3 00' 0 0000
(see Readers Services page)
ICs = ULN2004 0
ICs = 7805 0
0
Miscellaneous: O 0
S1 = locking SPOT switch with black key
O
cap. 111,V Type 61-2010400,-. 0
0 0
S2 = SPOT switch with red key cap. ITW
Type 61-1010000-.
S3:S4 = locking SPOT switch with integral
LED and black key cap. ITV/ Type 61-
2030401,.
X1 = quartz crystal 32.768 kHz. 0
PCB Type 894027 (see Readers Services
page).
Enclosure: Heddic Type 222'.
For reasons of safety, and to keep its over- inserting a short piece of wire, and solde- tion for pin 28 is made at the component
all cost down, the dark -room clock is ring it at both the component side and the side of the board with the aid of a piece of
powered by a mains adapter with a direct, track side of the board. This arrangement thin wire that connects the holes. Before
unregulated output voltage of 8-12 V. obviates having to solder the ICs direct on fitting this wire, remove the white overlay
Regulator ICb reduces this voltage to 5 V. to the board, although this is perfectly printed on the hole for IC pin 28. Insert the
A real on /off switch is not provided. permissible in this case. Note that the tip of a sharp pencil in the hole to ensure
Rather, the circuit is switched to stand-by white overlay print must be removed at that it remains open when the wire is sol-
with Si. The counter is reset to zero, the the component side before the spots can dered to the spot.
displays and LEDs are turned off, and the be soldered properly. Make the connection between RI5 and
EPROM is switched to its low -power The 3 exclamation marks shown in LD2 with a short length of insulated wire
standby mode. The clock is not re -actu- Fig. 4 indicate PCB design errors that are, fitted at the track (EPS) side of the board.
ated until Si is switched on again. fortunately, simple to correct. The holes A track is provided at the component side,
near pins 22 and 28, towards the `IC4' but this makes fitting LD2 rather difficult
mark on the overlay, must be connected to if the centre pin in the right-hand row of
Construction the associated holes that receive the IC the display is to function as a through
The dark -room clock is built on the pins (or IC socket pins) at both sides of the contact.
double -sided, not through -plated, PCB. In the case of pin 22, the missing The fitting of the remainder of the com-
printed -circuit board shown in Fig. 3. This connection is at the track (EPS) side of the ponents should not present problems.
board is available ready-made. board: a little extra solder tin applied dur- If the Heddic Type 222 enclosure stated
Figure 4 shows the locations of the ing the mounting of IC4 will bridge the in the Parts List is used, the switches must
holes that must be through -contacted by gap between the spots. The extra connec- be raised by mounting them on IC sockets
ELEKTOR ELECTRONICS FEBRUARY 1990
66 DARK -ROOM CLOCK
g file of byte:
:
i:r a blank display segment without sound output) difficult to obtain locally, the switches
may, of course, be replaced by suitable
begin
assign (g,'clock .dat'); (Open the desired filename) equivalents with the same electrical func-
rewrite (g):
for i:=0 to 9 do displayandsound(i):.-display[i]+580:
tion, mounted on to the front panel of the
(Include sound bit)
enclosure, and connected to the circuit by
count:=0:
(Calculate a readout in minutes and seconds) short wires.
(Reset the displaycount)
for i:=0 to 2 do (Maximum count is 29 minutes and 59 seconds)
for j:=0 to 9 do
for k:=0 to 5 do
for 1:=0 to 9 do
if count mod 30 = 0 (Check if count is a multiple of 30)
then
begin (Calculate the four d_isrlay bytes including the sound bit)
write (g,displayandsound:i
write (g,displaya:.i2i=d:.:
write (g,displayandizuni:::
(Leading -zero blanking]
if displayandsound:::<>dilayandsound(01
then write (g,'-'7''Ya-'""ndli3)
else write (g,r.KE,0):
count:=count+1:
end
else
begin (Calculate the four displaybytes)
write (g,display(I]):
write (g,displaylk1):
write (g,display(j]):
(Leading -zero suppression)
if displayfi.>display(0] then write (g,display(il)
else write (g,hex0):
count:=count+1:
end:
(Fill the remaining part with 5FF)
for ii=1800-.4 to Sliff do
begin
write (g,herff):
end:
(Calculate a readout in seconds)
count:=0: (Reset the display count)
for i:=0 to 1 do {Maximum count is 1999 seconds)
for j:=0 to 9 do
for k:=0 to 9 do
for 1:=0 to 9 do
(Check if count is a multiple of 90 and smeller than 91I
if (count =md 90 = 0) and (count<=90)
then
begin (Calculate the four display bytes including the sound bit)
write (g,disolavandscund:::`:
if count < 10 then write ,-,hex80) (Lead --_-zero blanking)
Fig. 5. Listing of the Turbo -Pascal program used to compile the content of the EPROM. The
IF COUUT statements allow you to change the timing intervals to individual requirement. Like
the EPROM content, the program is divided in two parts: the first provides the data for the
minutes and seconds read-out, and the second the data for the seconds read-out (0-1800 s).
These blocks may be interchanged. EPROM data is written to file =mom'.
COIN -OPERATED
HIGH QUALITY T EST EQUIPMENT (al SWITCH MODE
MECHANISM HITACHI OSCILLOSCOPES AF GENERATOR/COUNTER
2662 FOR QUAD AND VALUE
KEYBOARDS
Sa=e 1". V223 DC-70MHz. dual Channel. single time. AG2603AD A combined audio frequency sig- ASTEC Modal AM7531
base delayed sweep. DC offset, alternate mag- nal generator and frequency counter. A six VP. 115130V ac 5060Hz 0.1E- V1 - 5V 5A.
nifier. 6in screen. 5mV/div vent- sensitivity character LED display allows direct reading of V2 - 12V 0.15A Size: 160 x 104 45mm
1 0.21slcliv.43.2_Vdiv sweep time. Complete with internally generated signal or signals from an Partially enclosed panel with fixing holes in
2 probes. manual, mains lead_ _______ E475 external source. The frequency generator has steel case on 120 x 125mm centres. Inputs
e
ir-
--ertir, Other models from (339 - full details in a range of 10Hz to 1MHz with either square or
catalogue. Ask far colour brochure. sine waveforms and adjustable output level.
and Outputs are on colour coded leads; there
is also an EEC socket on a flying lead. E6-95
The frequency counter has a range of 10Hz to
28852 Keyboard: Superb brand new METEX METERS 150MHz. Frequency range controlled by a 5 -
keyboard 392 x 181 with LCD displaying 1 line step selector and fine control. Adjustable
of 10 characters and a further line with venous 8 different models in our cataloguer ouput level with 012040dB anenuator.
symbols 100 keys. inc. separate numeric * 41/2 digit 12mm LCD AUDIO GENERATOR
keypad. Chips on board are 2 x 74HC05. display Frequency ran ge _______ 10Hz to 151Hz 2660 Astac switched
80C48 LCD - driver chips are easily remov- * 30 ranges inc! Outputimpedance _ 600flunbalanced mode PSU
able from board £15.00 20A ea:do Output cannot_ 0.20-40dB andfineadjuster Type AA7271.
28857 High quality Alphanumeric keyboard * Frequency Output control:
on alum:nium frame 314 150mm_ Contact. counter Sine._.__ ..__..___._..av rms max This small PCB.
.:,sless good for 20 million operations. * Capacitance test square __10V p -p max wet 50 50mm will
Origma sold at over 0100 each, they were FREQUENCY COUNTER accept 8.24V input and
with zero adjust give a stable 5V DC at up to 2A output The
use:. - a Printcom' portable terminal. Fully Frequency range _ 1011z to 1505114z
aced output Power supply - 5V and * Data hold switch
ASC
-12v
data
.Hrn/a_ Suppled with comprehensive * Diode test
014.95
tett
. -
kfillth116
:rputvottage
impedance:
- Less th a n 50mV
' ox input voltage......_._-.-..... 3V
6 transistor circuit provides current overload
protection, thermal cut-out and excellent filter
ing. Offered at the remarkably low price of
28856 Cherry comp :e: Ver, a' m
fi Transistor test 0if enCy ES 00
model 340 x 130 cy only 14mm deep, in- a Continuity test Me.650
Power_
F-
50f1
(b) CONVENTIONAL
cluding keys. Matrix output 67 keys in pale/ * Test leads with 4mm plugs E94.00 240Vac50Hz
dark brown 715 .. 150 x 200mm 24215 Siliconix mains input. 4.5V DC 150mA
Et 00 * Rugged yellow case
E175.00 output to 3.5mm jack plug on 2m lead. Built-in
28863 Keyboard. High quality unit made by * Carrying case continental 2 -pin plug Size 62 x 46
Micro Switch. 69 pale grey and blue keys. 6 red 35mm £1.50
5mm LED's. 15 various LS chips and socketed Battery and instruction manual included. ill COUNTER 24170 Plug in power supply. Built in 13A plug.
08048 by Intel. Output via 7 way plug and AC volts 0-200m-2-20-200-750Vac =0.5at Similar in appearance to above with same Output 6V DC 300mA on 2m long lead termin-
there Ls a 4 way edge connector too. Keyboard DC volts 0-200m-2-20-2001000vdc frequency counter. Spec: ated in a 3mm power plug. British made to
frame rs 317 . 128mm_ PCB on which it's AC current 0.2m.200m-20Aac c 1.0% Frequency range 100kHz to 150MHz 135415._ £1.50
mounted is 285 x 1711mm. F Output ___.____100mV rms lup to 3551Hz) 24208 Ode Power Supply. Moulded oleo,:
DC current 0-207µ-2m.200m-20Adc -0 5 - Output central 0/20cIB and fine adj
Price Excellent value at E12.00 Resist 13200.2k -204-2004-2M-2011411 c
Modulation_ case with built in 13A plug Output 9Vdc a'
Internal lkHz. 600rnA delivered to 2m lead with 2_5m--
Capacitance 0-209200n.20_,F -2.0r external 50kHz20kHz
TELEPHONE ANSWERING Frequency 0-204-200kHz =2 at less than IV rms nowerplug E3 50
Transistor hFE 0.1000 NE1. zr.,
MACHINE Dims 176 92
P E179.00
FLASH GUN RETURNS
(Lots more on latest Bargain List)
FREQUENCY COUNTER SIGNAL TRACER/INJECTOR Hanirnex electronic flash arts that have be
returned by the cons.: -a- me place where
purchased These arc :":e: zomplete & in
good condition (man.; ,- 7 ai boxes) but
have not been tested ty .1: are offered
without any guarantee 4 tr.:, available. as