Elektor #046 - February 1979 PDF

Download as pdf
Download as pdf
You are on page 1of 49
@lektor bie ose » *Nq* EUROTRONICS: B Bt Sa ti Ue b y | over £10,000 worth of prizes to be won! Details inside! ai bs bg UK 4 — elektor february 1979 decoder elektor 46 Volume 5 Number 2 Elektor Publishers Ltd., Elektor House, 10 Longport, Canterbury CT1 1PE, Kent, U.K. Tel.: Canterbury (0227) 54430. Telex: 965504, Office hours: 8.30 - 12.45 and 13.30 - 16.45. Bank: 1, Midland Bank Ltd., Canterbury, A/C no. 11014587 Sorting code 40-16-11, Giro no, 3154524. 2. U.S.A. only: Bank of America, c/o World Way Postal Center, P.O. Box 80639, Los Angeles, CA 90080, A/C no. 12350-04207. 3. Canada only: The Royal Bank of Canada, c/o Lockbox 1969, Postal Station A, Toronto, ‘Ontario, M5W 1W9. A/C no. 160-269-7. Please make all cheques payable to Elektor Publishers Ltd. at the above address. Elektor is published monthly. Number 51/52 (July/August) is a double issue. SUBSCRIPTIONS: Mrs. S. Barber Subscription 1979, January to December incl.: U.K. U.S.A./Can. other countries surface mail airmail surface mail airmail £8.50 $21.00 $31.00 £8.50 £14.00 Subscriptions normally run to December incl. Subscriptions from March issue: U.K. U.S.A./Can. other countries surface mail airmail surface mail airmail £7.00 $17.00 $26.00 £7.00 £11.50 Back issues are available at original cover price. Change of address: Please allow at least six weeks for change of address. Include your old address, enclosing, if possible, an address label from a recent issue. ADVERTISING MANAGER: N.M. Willis National advertising rates for the English-language edition of Elektor and international rates for advertising in the Dutch, French and German issues are available on request. EDITOR W. van der Horst U.K. EDITORIAL STAFF 1. Meiklejohn TECHNICAL EDITORIAL STAFF J. Barendrecht A. Nachtmann G.H.K. Dam J. Oudelaar P. Holmes A.C. Pauptit E. Krempelsauer K.S.M. Walraven G. Nachbar P. de Winter Technical telephone query service, Mondays only, 13.30 - 16.45. For written queries, letters should be addressed to dept. TQ. Please enclose a stamped, addressed anvelope or a self-addressed envelope plus an IRC. ART EDITOR: F. v. Rooij Letters should be addressed to the department concerned: TQ = Technical Queries ADV = Advertisements ED = Editorial (articles sub- ADM = Administration mitted for publications etc.) EPS = Elektor printed circuit SUB = Subscriptions board service The circuits published are for domestic use only. The submission of designs or articles to Elektor implies permission to the publishers to alter and translate the text and design, and to use the contents in other Elektor publications and activities. The publishers cannot guarantee to return any material submitted to them. All drawings, photographs, printed circuit boards and articles published in Elektor are copyright and may not be reproduced or imitated in whole or part without prior written permission of the publishers. Patent protection may exist in respect of circuits, devices, components etc. described in this magazine. The publishers do not accept responsibility for failing to identify such patent or other protection. Dutch edition: Elektuur B.V., Postbus 75,6190 AB Beek (L), the Netherlands. German edition: Elektor Verlag GmbH, 5133 Gangelt, W-Germany French edition: Elektor Sarl, Le Doulieu, 59940 Estaires, France. Distribution in U.K.: Seymour Press Ltd., 334 Brixton Road, London SW9 7AG. Distribution in CANADA: Fordon and Gotch (Can.) Ltd., 55 York Street, Toronto, Ontario MSJ 184. Copyright © 1979 Elektor publishers Ltd. — Canterbury. Printed in the UK. Maween OF THE auBiT BURLAY OF CIRCULATION decoder What is a TUN? What is 10 n? What is the EPS service? What is the TQ service? What is a missing link? Semiconductor types Very often, a large number of equivalent semiconductors exist with different type numbers. For this reason, ‘abbreviated’ type numbers are used in Elektor wherever possible: © °741' stand for uA741, LM741, MC641, MIC741, RM741, SN72741, etc. © ‘TUP’ or ‘TUN’ (Transistor, Universal, PNP or NPN respect- ively) stand for any low fre quency silicon transistor that meets the following specifi- cations: Some ‘TUN’s are: BC107, BC108 and BC109 families; 2N3856A, 2N3859, 2N3860, 2N3904, 2N3947, 2N4124. Some ‘TUP’s are: BC177 and BC178 families; BC179 family with the possible exeption of BC159 and BC179; 2N2412, 2N3251, 2N3906, 2N4126, 2N4291. ® ‘DUS" or ‘DUG‘ \Diode Univer- sal, Silicon or Germanium respectively) stands for any diode that meets the following specifications: Some ‘DUS‘s are: BA127, BA217, BA218, BA2?1, BA222, BA317, BA318, BAX13, BAY61, 1N914, 1N4148. Some ‘DUG’s are: OA85, OA91, OAS, AA116. ©‘BC107B", ‘8C2378', 'BC547B' all refer to the same ‘family’ of almost identical better-quality silicon transistors. In general, any other member of the same family can be used instead. BC107 (-8, -9) fa : BC107 (-8, -9), BC147 (-8, -9), BC207 (-8, -9), BC237 (-8, -9), BC317 (8, 9), BC347 (-8, -9}, BC547 (-8, -9), BC171 (-2, -3), BC182 (-3, 4), BC382 (-3, 4), BC437 (-8, -9), BC414 BC177 (-B, -9) families: BC177 (-8, -9), BC157 (8, -9), BC204 (-6, 6), BC307 (.8, -9), BC320 (-1, -2), BC350 (-1, -2); BC557 (-8, -9), BC251 (-2. -3). BC212 (-3, -4), BC512 (3, 4). BC261 (-2, -3), BC416. Resistor and capacitor values When giving component values, decimal points and large numbers of zeros are avoided wherever possible. The decimal point is usually replaced by one of the following abbreviations: p (pico-) = 107% n (nano-) = 107° Mu m k {kilo-) = 10° M (mega-) = 10° G (giga-) = 10° A few examples: Resistance value 2k7: 2700 2. Resistance value 470: 470 2. Capacitance value 4p7: 4.7 pF, or 0.000 000 0000047 F .. Capacitance value 10n: his is the international way of writing 10,000 pF or .01 uF, since 1 nis 10°° farads or 1000 pF. Resistors are % Watt 5% carbon types, unless otherwise specified. The DC working voltage of capacitors (other than electro- lytics) is normally assumed to be at least 60 V. As a rule of thumb, a safe value is usually approxi- mately twice the DC supply voltage. Test voltages The DC test voltages shown are measured with a 20 k2/V instru- ment, unless otherwise specified. U, not V The international letter symbol ‘U" for voltage is often used instead of the ambiguous ‘V’, ‘V" is normally reserved for ‘volts’. For instance: Up, = 10 V, not Vp = 10 V. Mains voltages No mains (power lina) voltages are listed in Elektor circuits. It is assumed that our readers know what voltage is standard in their part of the world! Readers in countries that use 60 Hz should note that Elektor circuits are designed for 50 Hz operation. This will not normally be a problem; however, in cases where the mains frequency is used for synchronisation some modifi- cation may be required. Technical services to readers @ EPS service. Many Elektor articles include a lay-out for a printed circuit board. Some — but not all — of these boards are avail- able ready-etched and predrilled. The ‘EPS print service list‘ in the current issue always gives a com- plete list of available boards. ® Technical queries. Members of the technical staff are available to answer technical queries (relating to articles published in Elektor) by telephone on Mondays from 14.00 to 16.30. Letters with technical queries should be addressed to: Dept. TQ. Please enclose a stamped, self addressed envelope; readers outside U.K. please enclose an | RC inszead of stamps. @ Missing link. Any important modifications to, additions to, improvements On or corrections in Elektor circuits are generally listed under the heading “Missing Link’ at the earliest opportunity. contents elektor february 1979 —UK 5 Eurotronics — a world- wide circuit and design idea competition, with over £ 10,000 worth of electronic equipment to be won! Note that the closing date for the competition is 318t March, 1979. p. 2-02 Every week, predicting the results of the football pools is a time of agonizing indecision. The pools predictor is in- tended to change all. this. For each game, infor- mation on the league position of the two teams is fed in; the unit carefully weighs the odds and comes up with its final verdict: 1,2 or X. p. 2-06 There are a number of measurement jobs which require an AC test signal, which, as nearly as possible, is a perfect sinewave. Not only must the amplitude of the signal be absolutely stable, but the hum, noise and harmonic dis- tortion components must be negligable. The spot sinewave generator will provide a sinewave out- put with harmonic distortion of less than 0.0025%. p. 2-20 Eurotronics and you.. Read page 2-02.... .... NOW! contents SOIOK{Ol fas sees eee wok Ree eee eurotronics ............ eae ee tain 2-02 international circuit and design idea competition optical memory disc ..-......-.....0.00:. 203 Ten billion bits, five thousand printed pages, forty five thousand tracks are certainly large numbers, but all of these, and more, are contained on a twelve inch disc in the new computer storage system recently developed by Philips. pools predictor (L.Gise) .....ceceeeeeeeees 2-06 1,2 or X based on statistics D/A for uPs (T. Basien and P. Haberoetzer)........ 2-10 Using a couple of inexpensive CMOS ICs it is not difficult to build a simple D/A converter which affords the possibility of generating analogue signals from software. delay lines ...........-5 (iit ue Sates ae are sie E One of the most important sound-processing techniques employed by amateur and professional musicians as well as sound recording studios is the electronic delay line. The article takes a close look at the ‘ins and outs’ of this device, and examines some of the less well-known uses to which it is put. spot sinewave generator ............ ce See A sinewave with less than 0.0025% harmonic distortion! clap-switch ....... cis vv eee Sean 2-27 You clap your hands, and — hey presto — the light comes on! The article describes how to achieve this impressive effect by building a simple ‘clap-activated switch’. MAMIE. ea ses fee eee eee 2-30 squelch for FM radio receivers Wisi BAK ic ek pe a ee ce eee a eae oe temperature controlled soldering iran, cackling egg timer, consonant. using Elbug (H.Huschitt) ..... PAA Pee eh eee It is almost a year since the article on Elbug, the monitor software program for the Elektor SC/MP UP system was published. The original article concentrated on a description of the various control functions which Elbug provided, and did not examine how the program actually worked. Prompted partly by the many requests from readers, the article takes a more detailed look at Elbug, describing how some of the more important subroutines function, and how these routines can profitably be incorporated into one's own programs. missing link in audio systems .......... oe 29 Correct level-matching between preamps and power amps. Formant — an invitation to our readers ..... 2-39 WOE i ev ee ee ee Oe ek Cea 2-40 advertisers index............ ite .. UK 24 advertisement DE BOER cp40008 CD40018 cp40028 CD40068 cb4007B CD4008B CD40098 ¢p40108 cb4011B CD40128 cD40135 CD4014B cb40158 CD4016B CD40178 CD4018B cb4019B CD4020B cD40218 Cb40226 Cb40235 cb40248 Cb40258 cD40268 cp4027B co40288 Cb4029B CD40 3UB CD40 31B CD4032B CD40 338 CD40 348 CD4035B CD4036B CD4037B cD4038B cD4039B cD40408 cD4041B cb4042B CD4043B CD4044B CD4045B CD4046B cb40478 CD4048B cb4049B CD4050B CbD4051B D4052B cb40538 CD4054B cD40558 €D40568 CD4057B CD4059B CD4060B CD4061B CD4062B CD4063B CD4066B CD4067B CD4068B CD4069BR ‘CD4070B CD4071B CD4072B CD4073B cD4075B CD4076B CD4077B D4078B CD4081B CD4082B CD4085B cD40868 CD4089R €D40938 CD4094B cb4095B CD4096B D4097B Cb4098B CD40998 en PRA RR RRP Pe eR 0,24 0,22 0,24 0,84 0,23 0,97 0,55 0,55 0,22 0,24 0,42 0,97 0,81 0,42 125 14,90 0,52 3,08 0,24 0,24 0,26 0,26 0,26 0,26 0,25 0,26 0,26 0,23 9,26 0,73 0,74 1,47 0,67 2,26 1,31 1,50 4,19 0,81 CD40 1048 Sil gd CD401058 a bay cb4.1048 Ch ayo cb54028 L 1,13 CD450 315 O55 cD45078 £ 0,43 Cb4 5088 £2598. CD45 1L0B fo ckyed CD45 LLB fie S27 €D45128 £ 1,02 UD45 148 CAS SES CO45158 fisdel 5, CD4516B cr Lee CD4517B Ee CD4519B £ 0,62 CD4520B fi 21. CD4522B fala CD4527B Sib eh CD4528B £ 0,90 CD4531B £ 0,66 €D4532B s FeCa0 CD45 34B £ 5,50 ecexToR KITS Interface (9721-1) We stock THE COMPLETE séRIEs cosmos! CD4538B £264 CD4539B cas D4553B £. 6.71 CD4556B £ 1,62 CD4566B £. “182: CD4567B £ 1,62 CD4581B a kee CD4582B Eels CD4584B £. 0,53 CD4585B £74526 CD40014B £ 0,48 CD40061B £ 4,87 CD40085B £ 1,00 CD400978 £ 0,65 €b40 1008 £.. Fad Cbd40101B £2,509: D40102B £ 2,93 CD40103B £5 2593. CD401048 fobs 70 CD40105B eSniioe CD40106B £ 0,78 ¢D40107B £ 0,97 CD401085 £ 6,10 CD401098 ieee CD401608 2 272 CD401618 Etc T a: CD401628 £ 1,62 CD40163B e572 CD401645 Rite CD40174B Eis as: CD40175B ‘COLE cD40181B £ 4,34 CD401828 £1579 CD40192B Bon ey, €D40193B £72 CD40194B £ 1,79 CD40195B cS 780) CD40208B. £ 6,10 CD40257B fl Oi — Interface receiver (9721-2) Power supply (9721-3) Keyboard divider (9721-4) VCO modul (9723-1) WCF (9724-1) ADSR (9725-1) Dual VCA (9726-1) LFO (9727-1) Noise (9728-1) COM (9727-1) Front panels cpl (11 items) 3 okt. Keyboard with KA contacts Cpl.set with keyboard, all nessery moduls (thus inkl. 3 x VCO and 2x ADSR) and front panels Electronic piano complete kit with all PCB's keyboard and contacts K.A., x-tal ete. RAM 1/0 (9846-1) SC/MP board (9846-2) CPU card (9851) BUS board (9857) Memory card (9863) HEX 1/0 (9893) 4-k RAM (9885) Power supply (9906) Cass. interface (9905) 3 Elburg programmed EPROM's Cpl. system (consists of kits with) mmm mmm £ £ Perma m mmm 18,50 3,85 37,00 2,25 52,35 21,40 14,45 19,30 18,15 11,15 13,75 13,85 50,00 365 ,00 OuR SYNTHESIZER Ap PIANO 259,00 our MicRoprocessok kir ! 32,35 26,75 90,50 3,00 57,50 67,25 122,05 23,95 16,03 68,85 349 ,00 Elektor February 1979 - UK 9 AL OUR KITS TwclUDE THE PcB fed ALL ELECTRONIC COMPOWENTS, SwiTCHES. AND A DESCRIPTION. @ 4 Gigahertz counter CPL (9887) 104,50 A time base control (9887-1) 48,90 B low frequentie input amp. (9887-3) 6,65 C counter and display (9887-2) 65,90 D high frequentie input amp (9887-4) 15,30 @ Automatic mono/stereo switch(9923) 6,30 @T.V. sound modulator (9925) 6,30 @Mini counter (9927) 27,70 @ Mini short wave receiver (9920) £ 9,05 @ Digital reverberation main board(9913-1)67,25 @ Digitale reverberation extension board (9913-2) £ #Percolator switch (9902) ® Colour modulator (9873) @ Moving coil preamp (9911) @Elektornado (without heatsinks) (9874) @ Colour TV games board (9892) einfra red light gate transmitter (9862-1) @infra red light gate receiver (9862-2) Development timer (9840) @Elektor equaliser (9832) e@UAA 180 LED meter (9817-1+2) @Simple function generator (9453) 69,55 £ 8,40 £ 14,90 £ 19,50 20,00 24,45 eSignal injector (9765) #Sensitive lightmeter (9886) eM.W. reflex receiver (9880) @ Heating controller (9877) e@ Analogue freq. meter (9869) e@Elekrret mike preamp (9866) eUHF TV modulator (9864) @Magnetiser (9827) : @Sensor for electrometer (9826-2) @Electrometer (9826-1) £ £ £ £ £ £ £ £ £ £ £ eVideo bio feedback generator (9825-1) @Video bio alpha amplifier (9825-2) @loniser (9823) @ Infra red transmitter (9822) @Log darkroom timer (9797) @F.M. mains intercom (9359) e3% Digit D¥M (77109) 4 Watt car radio amp (77101) @TV games with AT-3-8500 (77084) eCuitar preamp (77020) @Precision time base (9448) e@Power supply for orec. time base (9448-1) @ Preconsonant @Luminant @ Consonant @Touch dimmer @Power flaher @Electronic gong #Bicycle speedometer ®Clowplug regulator @Ask Mike for the new elektor kits! @Elekterminal @Videoscope (9969-2) ®Videoscope (9969-3) © Videoscape (9969-1) ORDERING DETAILS : You can reach us by phone from monday till friday 13.00 pm to 18.00 pm saturday 10.00 am to 13.00 pm at Hillington (04856) 553- or by letter toz Mike Hutchinson, 2 Lynn road, Grimston, Kings Lynn, Norfolk PE321AD. 3s tA Payment: cheque and postalorder only to the name of De Boer Electronics. All prices are vat-included, - add 50p for post and package . = Overseas orders please to Holland (sef below) No house calls please. TELEX 59307 Ff elektronika Kisine Berg 39-41 Eindhoven. Nederland, tel. 040-448229. hoe oe oe — oe om oe UK 14 — elektor february 1979 G.P.O, uses fibre optics in telephone systems Standard Telephones and Cables’ (STC) optical fibre link between Hitchin and Stevenage is now carrying telephone traffic in the public network after having undergone extensive testing since its installation in 1977. Using laser beams guided through two hair-thin glass fibres to carry the signals, the system is able to handle the equivalent of nearly 2000 simultaneous telephone conversations. The 140 Mbit/s digital optical transmission system is the world’s first high-capacity fibre optic telephone link to be installed in the field. The light-carrying fibres are contained in a cable 7 millimeters (about a quarter inch) in diameter and Tun through six miles of normal telephone cable ducting between the two towns where Post Office exchange buildings house the multiplexing and optical terminal equipment. Two repeaters are spaced at two mile inter- vals in standard repeater cases in manholes along the route, Each repeater point is equipped with two regenerators, one for each direction of transmission. A total of six gallium aluminium arsenide lasers are used in the system. The optical cable comprises two working fibres, a spare fibre, four metal conductors (two of which carry the power to the repeaters and two of which are ‘order wires’ used by tech- nicians) and a filler fibre that rounds out the cable. These eight cores are grouped round a central steel strength member and completely sheathed in polyethylene. Not withstanding its novel method of transmission, the new system works with standard multi- channel digital multiplex equipment. During the past 18 months of continu- ous operation the system has provided valuable data relating to the long term stability and performance which this new technology offers and has been demonstrated to many visiting scientists and potential customers from more than thirty countries covering all five conti- nents. In addition, the BBC has used the link for a successful series of colour television test transmissions. Widespread use of the new optical fibre links can be forecast because of these cables’ outstanding advantages: greatly reduced bulk and weight compared with copper, far greater capacity, freedom from electrical interference, and enhanced security. STC supplied the special optical cable, electronics and the terminal PCM multiplex equipment for the system. Two other associated European companies, Bell Telephone Manufac- turing Company (BTM) of Antwerp, and Fabbrica Apparecchiature per Communicazioni Elettriche Standard (FACE) of Milan supplied the higher- speed multiplexing equipment for either end of the system. (421 S) New developments in IC technology Considerable progress is being made at the present time in the investigation of new microminiaturisation techniques for manufacturing integrated circuits. With the aid of current photolitho- graphic methods it is possible to make structures of approximately 4 microns on a silicon wafer with an alignment accuracy of approximately 1 micron, By using the ‘Silicon Repeater’, an automatic machine designed at the Philips Research Laboratories in Eindhoven, it has now become possible to impart details of 1.5 to 2 um to such a wafer with an alignment accuracy that is approximately 10 times greater. As with conventional photolithographic methods the wavelength of light forms the natural limit to miniaturisation here. Simultaneous investigations are also being made at the Philips Research Laboratories in Redhill, England into the possibility of using electron beams in place of light. There are indications that electron-beam lithography may open the door to even greater minia- turisation. It looks as if it will be possible in the future to produce details selektor of 0.5 to 1 um with an accuracy of alignment of approximately 0.1 um using this method. Miniaturisation It is now possible to produce entire circuits, which earlier had had to be made by soldering one component to another, on a single small silicon wafer (this is now known as an integrated circuit). Large circuits which formerly consisted of valves, coils, resistors etc, can now be made on a silicon wafer of a few square millimeters, Transistors and integrated circuits are produced by bringing about local changes in monocrystalline silicon with the aid of foreign atoms in such a way that the electrical properties of these regions become different from those of the area surrounding them. Connecting these regions to one another and to the ‘outside world’ creates an integrated circuit. Because a slice of silicon has a surface area of two to four inches in diameter and a few square millimeters is all that is required for an IC, a silicon slice is good for the manufacture of more than a 1000 identical ICs. It has been shown that circuits with a large ‘electronics content’ can only be produced with a reasonable yield and at an acceptable price if the total surface area of each separate IC is as small as is practically possible, There is also the fact that the speed at which the circuits can function increases as the dimensions selektor of the circuits decrease. The importance of fast speeds will be obvious when we think, for example, of ICs for computer applications. Research is still continuing into new techniques of microminia- turisation. Conventional photolithography A brief description of a standard manufacturing method will give some idea of the problems that can occur in the manufacture of transistors and integrated circuits. An entire wafer of silicon is coated with a layer of silicon oxide which, on the one hand, protects the wafer from undesired influences and, on the other hand, makes it possible for the wafer to be uncovered again locally. The latter is done by applying a light-sensitive lacquer to the oxide and by selective exposure of this lacquer layer using a mask, The pattern on the mask is thus transferred to the lacquer layer. The exposed places on this layer undergo a chemical change which makes them insoluble. If the exposed layer is treated with a suitable solvent then the lacquer is dissolved locally and a copy of the mask pattern is obtained on the wafer: the oxide layer underneath is uncovered at the exposed points. The wafer is then treated in an etching bath. The etching fluid dissolves the oxide that is no longer protected by the lacquer. After the remaining lacquer layer has been removed using another solvent a silicon wafer has been obtained on which there is an oxide layer in which pits have been etched in accordance with the pattern of the mask, The edges of the pits are of silicon oxide, and the ‘bottom’ consists of silicon, Foreign atoms can be introduced into the ‘silicon bottoms’. The process can be repeated, using a different mask each time, until the complete IC has been produced on the wafer. The masks used for the photolitho- graphic method are made as follows. The desired pattern is drawn by numerically controlled machines and is then transferred to a photographic plate. Transparent regions appear on this plate which are approximately 10 times as large as the pattern for the ultimate circuit. The intermediate product is then photolithographically copied in reduced size on a metallised glass plate, the parent mask. By moving it in steps the parent mask becomes covered with identical patterns of the true size. A number of copies are made from this parent mask and these are the working masks used in the manufacture of the circuits. Problems A number of problems occur with the photolithographic method just described. For the successive litho- alektor february 1979 — 2-01 graphic operations the prints of the different working masks have to be aligned very accurately with one another on the silicon wafer. This is a necessary prerequisite for obtaining a properly working circuit. As the ‘electronics content’ of the individual IC increases and the detailed structures are subject to even greater minia- turisation, alignment, which in conventional methods is done by hand, can become something of a problem. The working mask itself may also cause problems, In a mass production process of making ICs, that is automated to the maximum possible extent, the working mask, after being aligned, is usually brought into direct contact with a wafer of silicon that is covered with a light- sensitive lacquer layer. As a result of this contact both the mask and the lacquer layer could easily be damaged by, for example, irregularities on the wafer. Another drawback is the fact that it is not always possible in practice to press masks completely flat against the wafer. This may cause light diffraction problems resulting in a less than sharp image of the mask pattern. The Silicon Repeater In order to get over the above difficulties, scientists at the Philips Research Laboratories in Eindhoven have designed an instrument, the Silicon Repeater, which enables details of 1.5 to 2 um to be transferred to the wafer without contact and with an accuracy of alignment of 0.1 ym. A photographic mask, that has one pattern, magnified 5 times, and not a large number of identical patterns as in the usual contact method is projected in reduced size on to a wafer. Because the machine then moves the wafer, the entire surface of the wafer becomes covered with identical patterns. The entire projection process, the aligning of the wafer and the step-by-step movement of it are all done automati- cally, using two laser interferometer systems under computer control. To obtain accurate positioning of the individual projections use is made of tantalum markers previously applied to the silicon wafer. The X-ray radiation which these markers emit when bombarded with electrons is used to achieve alignment. Unevennesses in the surface of the wafer are traced by the equipment: refocusing is done auto- matically before each exposure, This and the fact that the mask has only a single pattern mean that accuracy of alignment and line definition (smallest dimension of a detail that has to be imaged) are better than in the conven- tional method. Damage to the mask is prevented because the mask no longer comes into contact with the wafer. Electron beams in place of light New prospects for miniaturisation are being seen in the use of electron beams instead of light in the manufacture of ICs: there are scarcely any diffraction phenomena, the depth of focus is greater and the beam diameter is smaller so that even smaller details can be inscribed on the wafer. Scientists at the Philips Research Laboratories in Redhill, England are at this moment exploring three areas where electron beams might fruitfully be used. The first area is in the fabrication of masks using electron beams. Because there are no intermediate stages the fabrication time for the masks is very short, a high yield of good masks is achieved and the line definition is high. The second area is the development of equipment whereby patterns can be copied on the wafer by means of electrons (Electron image projector). This procedure starts with a mask made using the electron beam technique already mentioned, to which a layer is applied which on being illuminated emits electrons. The electrons released are projected via an electron optical system on to the silicon wafer. The silicon wafer has been provided with a lacquer layer which is sensitive to electrons. As with the Silicon Repeater, there is no wear of the mask. A third area being studied by the English laboratory is a method whereby a controlled electron beam inscribes a pattern directly on to a silicon wafer without the use of a mask. It is expected that line definitions of 0.5 to 1 wm with an alignment accuracy of 0.1 um will be able to be obtained using the above electron beam techniques although much research has still to be done before this accuracy and line definition are obtainable in the mass production of ICs. (413 S) 2-02 — elektor february 1979 we WE ww Elektor is promoting the first world- wide circuit and design idea competition for electronics enthusiasts, with over £10,000 worth of electronic equipment to be won. It is the intention that this competition should stimulate elec- tronics as a hobby on a world-wide scale, by the resulting exchange of cir- cuit ideas, Entries are not limited to fully-developed and tested circuits: original design ideas, that could be im- plemented in circuits (given time and sufficient experience), can also be entered. Obviously, both circuits and design ideas must be original. Complete circuits Entries should be interesting, original circuits that can be built for less than £20.00 — not counting the case and printed circuit board. Circuits used in commercially available equipment, de- scribed in manufacturer’s application notes, or already published are not considered ‘original’. The complete circuit should be sent in, together with a parts list, a brief expla- nation of how it works and what it is supposed to do, a list of the most im- portant specifications and a rough estimate of component cost. The latter can be based on retailer's advertisements. A jury, consisting of members of the editorial staffs for the English, German and French issues of Elektor and the Dutch edition, Elektuur, will judge the entries according to the criteria listed “> we x + * Ne x Ww Ww . w Eurotronics inter t above. The best designs will be published in the four Summer Circuits issues, with a combined circulation of over 250,000 copies. All entries included in this final round will be rewarded with an initial ‘fee’ of £ 60.00. Design ideas Readers who cannot submit a complete circuit (for lack of time, know-how or hardware) may enter an interesting and original design idea. However, the same basic rule holds: the idea should be for a feasible circuit that can be built for an estimated component cost of less than £20.00. The idea should be described as fully as possible. Perferably, a block diagram and — if at all possible — a basic (untested) circuit should be in- cluded, The jury will select the best ideas for inclusion in the final round. These ideas will be rewarded with a ‘fee’ of £20.00. The final round The readers of Elektor and its sister publications will select the winners! This is where the half-a-million-or-more readers of the Summer Circuits issues come in (yes, we know that each copy is read, on average, by 2.6 people... ). The readers are requested to select the 10 best circuits from those published. Everybody who co-operates in this final vote may also win a prize. and desi com ian eurotronics ional The prizes Over £ 10,000 worth! The ten entries selected by our readers will receive a total of £ 10,000 worth of prizes. Dream prizes for any enthusiastic electronics hobbyist! The closing date for the competition is 31st March, 1979, Entries should be sent to: Elektor Publishers Ltd., Elektor house, 10 Longport, Canterbury, CT1 1PE, Kent, U.K. Both the envelope and the entry should be clearly marked ‘Eurotronics circuit’ or ‘Eurotronics design idea’. General conditions @® Members of the Elektor/Elektuur staff cannot enter the competition. ®@ Any number of circuits and/or design ideas may be submitted by any person. Entries that are not included in the final round will be returned, pro- vided a stamped, addressed envelope is included. ® The decision of the jury is final. | optical memory disc elektor february 1979 — 2-03 optical memory disc diode laser writes and reads ten billion bits on one 12” disc. Ten billion bits, five thousand printed pages, forty five thousand tracks are certainly large numbers, but all of these, and more, are contained on a twelve inch disc in the new computer storage system recently developed by Philips. Using video disc techniques with a diode laser providing the optical medium gives a ten times greater storage capacity than the most advanced magnetic disc systems. The technology required for the memory disc is similar to that originally devel- oped for the video long-playing disc. The most sensational aspect of the new memory disc is its enormous storage capacity: ten billion bits, or the equiva- lent of half-a-million printed pages! This is ten times the memory capacity of the most advanced magnetic disc pack systems. The information can be read out im- mediately after it has been written on the disc. The system features fast random access: any address can be located within, on average, 250 ms. This means that virtually instant access is possible to 5 billion bits (ie. the ca- pacity of one side of the disc). Breakthrough The possibility of using lasers for optical data recording has been known for several years, but several problems pre- vented the development of a practical read/write system. A miniature diode laser and a compact optical system were required, as well as a sensitive recording medium that is sufficiently durable for long-term storage. Furthermore, a highly accurate servo system is needed that will provide fast, random access to the data stored on the disc. Philips was in a unique position to make the necessary breakthroughs, because of their experience and parallel develop- ments in several allied fields. The diode laser used in the new re- cording system is approximately the same size as a small-signal transistor. The chip itself is 0.1 mm square, and consists of an aluminium-gallium-arsen- ide diode. Despite its small size, the pulsed light output power is equiv- alent to that of a big gas laser with its associated modulator. The diode laser is mounted in an extremely compact optical system weighing only 40 grams; the latter also contains the positioning and focussing optical systems and elec- tronics. This type of diode-laser system can read optical data in the same way as a VLP (Video Long Play) system. By increasing the power of the laser it is also possible to write data on the disc by *burning’ into a suitable recording medium. In the Philips system this is done by melting micron sized holes in the (tellurium- based) recording material. The data written in this way can be read immedi- ately; the system detects the difference between a high light level reflected from the ‘virgin’ surface of the disc and a low light level reflected from the holes — where most of the light is scattered. These high and low light levels are con- verted into electronic binary signals: the data ‘bits’. Fast random access The system must provide the possibility to write data anywhere on the disc, if the desirable random access facility is to be provided. This would appear to demand absolute positioning accuracy to a fraction of a micron — sufficient to locate and read the micron-sized holes. Philips found a different solution based on a modification of existing VLP technology. In the VLP system, data is normally read sequentially from pressed, plastic discs. This data is recorded on the disc as a series of holes in the substrate, having a depth equivalent to one-quarter wavelength of the laser light. During playback, this information is retrieved by detecting high and low levels of re- flected light. For the new diode-laser recording sys- tem, the disc is initially provided witha one-eighth wavelength deep groove in which the data addresses are pre- recorded. Figure 5 shows a micro-photo- graph of this groove, with data also recorded in it. Both during recording and playback (in this application it is perhaps better to use the phrases ‘write’ and ‘read’ cycles) the optical system can track along this groove, finding and reading all the addresses. This means that data can be stored on and retrieved from virtually any spot on the useful recording area of the disc, In this way, random access is provided both for reading and writing data, Note, however, that this system is not a true Random Access Memory (RAM), since there is no provision for erasing or modifying data once stored. The Philips system is Bo ane pe ei Mn er, aN TR 2-04 — elektor february 1979 equivalent to a PROM (Programmable Read-Only Memory). The disc The initial groove and the address data are recorded on the disc using VLP mastering and duplicating techniques. 45,000 concentric tracks or grooves (spaced |.6 microns apart), each divided into 128 ‘sectors’ as shown in figure 3, are recorded on a plastic substrate. The addresses are also recorded at regular intervals along the groove. A layer of recording material (in which data can be stored) is then evaporated onto the substrate, protecting the groove and address data; finally, two of these discs are mounted ‘front-to-front’ in a sealed ‘sandwich’ construction (figure 4). The laser light is focussed through the 1 mm thick plastic substrate to reach the actual recording medium. This provides good protection against dust, finger-prints, scratches and the like, without any adverse effect on the re- cording sensitivity. The optical system reads the addresses, tracks the ‘groove’, writes and reads data in the sensitive layer as described above. The objective lens is positioned at a relatively large distance (2 mm) from the surface of the 128 SECTORS disc, thereby eliminating vertical pos- itioning problems between optical sys- tem and disc. The system can be used to store 1024 bits of information in each of the 45,000 x 128 sectors, each of which has its own unique address. The disc is uncon- ventional in its playing speed: 150 RPM or 2.5 revolutions per second. This, combined with a fast ‘groove-finding’ servo mechanism, gives an average access time of 250 ms for the full storage capacity of five billion data bits. The writing speed in normal operation is 300 Kbits per second. However, the system is capable of much higher speeds: Philips have successfully experimented with a read/write speed of 6 Mbits/s! The servo Although the use of a pre-recorded groove eliminates the need for absolutely accurate positioning of the optical system, the recording system still re- quires fast and accurate positioning over the groove. This is achieved by mount- ing the optical system on an arm that is driven by a linear motor. An optical grating on the arm is used to rapidly bring the optics to within ten grooves (16 microns) of the desired position. optical memory disc Groove reading and sector reading then take over. With this technique, the maximum time required to go from the outer to the inner track is only 100 ms; the maximum access time (at 2.5 rev- olutions per second for the disc) is therefore only 500 ms — for a storage capacity equal to five magnetic disc packs! Once the required address has been located, the optical system is main- tained in focus on the groove. For focussing, the position of the objective lens relative to the sensitive layer is maintained within one micron by means of a most unlikely electro-mechanical system: a loudspeaker voice coil! The groove is followed by means of a servo system using the linear motor that drives the arm, and groove eccentricities of up to 100 microns are reduced to a tracking error of less than 0.1 micron, Several error-correction systems are used for retrieval of data. A special data modulation system is used; code words are interleaved throughout a sector; and a high (20%) redundancy is used — in other words, 20% more bits are actually recorded than the corresponding data. These error-correction systems detect and correct 99.9% of all érrors. The remaining 0.1% are detected, but cannot be corrected; all data in that sector must optical memory disc Figure 1. The new optical memory disc intro- duced by Philips is the same size as a standard LP disc (12” diameter), but it can be used to store the same amount of information as half a million printed pages... Figure 2. The complete optical data recorder looks very much like a normal record player. The playing arm, however, is mounted under- neath the record. Figure 3. Over five million sectors on the disc are each addressed individually; since 1024 data bits can be stored in each sector, rapid random access is possible to a total data Storage capacity of over five billion bits. Figure 4. The optical disc uses a sandwich construction: the sensitive layer (B), in which the data are stored, is protected by the plastic substrate (A), Figure 5. This microphotograph of (a very small part of) the surface of the disc shows the grooves, with data stored as holes ‘burnt’ in the sensitive layer. Figure 6. The optical read/write cartridge, in which the diode-laser is mounted, The optical output power is approximately 50 mW, suf- ficient to burn a hole in the sensitive layer in 20 ns. elektor february 1979 — 2-05 then be rewritten in a new sector. In practice, this means that the recording system is error-free. Future applications Philips foresee two different appli- cations areas: the storage of alpha- numeric information and the storage of images, The latter application demands storage capability of an extremely large number of bits. Well, ten billion is indeed a very large number, and image storing is well within the capabilities of the system. Since both words and images can be stored and retrieved with fast, random access, this optical mem- ory system may well become the elec- tronic equivalent of paper and micro- film. The high information density, in con- junction with long-term storage capa- bility, makes the optical storage system a viable replacement for magnetic tape and disc in a wide range of applications; especially where large quantities of data are stored and only infrequently up- dated — for example in Viewdata systems. The information density is already higher than that of magnetic material, and this is likely to become even more apparent in the future. The storage cost per bit is also expected to decrease significantly, as experience is gained and technology improves, The system is compatible with present- day and future data transmission systems, such as fibre optics. For example, in the office of the future the system may be expected to tie up with exotic electronic typewriters called ‘word processors’, providing an elec- tronic ‘filing cabinet’, Documents and images received through facsimile ma- chines can also be stored. In hospitals, patient records can be stored — includ- ing complete case histories, X-ray photos, graphs and other visual material as well as written and even spoken texts, As with most important technological innovations, it is to be expected that this system will not be commercially available for several years to come. Even so, it can safely be assumed that it will become highly important in the near future, If technology can progress to the point where the data-storage layer becomes erasable, this system could lead to the creation of gigantic RAMs. Optical storage would then become the mainstay of future computing systems. | Philips press office \P.0. Box 523 Eindhoven The Netherlands i 2-06 — elektor february 1979 pools predictor 1, 2 or X based on statistics Every week, predicting the results of the football pools is a time of agonizing indecision. The pools predictor described here is intended to change all this. For each game, information on the league position of the two teams is fed in; the unit carefully weighs the odds and comes up with its final verdict: 1, 2 or X. (L. Giise) Hundreds of thousands of people are disappointed every week when they hear the football results. It is extremely difficult to predict a sufficient number of results correctly — luck seems to be at least as important as skill. However, it is advisable to make some use of statistics. This is not always easy, and considering the relatively small chance of success it seems rather a waste of time to spend hours working out the odds. One can therefore either resort to blind guesswork, or else call in the aid of a Statistically weighted predic- tor. Statistics? Statistical analysis of league football may prove profitable. One way to do this is as follows. The results of a large number of games played in the past are analysed: for each game the relative strengths of the two teams involved are derived from their positions in the league at that time. If there are, say, 20 teams in that particular league, the relative strengths can vary between 20 : 1 and | : 20 — where the first figure is the position of the ‘home’ team and the second refers to the position of the ‘away’ team. If team A is in fourth position and team B in seventh, the relative strength is 4 : 7 if team A is playing at home (otherwise it would be 7 : 4). It is furthermore assumed that the relative strengths are determined solely by the relative positions of the two teams, not by their strength with respect to other teams. This means that 4: 7 (a difference of three places) gives the same relative strength as 1 : 4, 2:5 and so on. The next step is to compare the results of the games with the relative strengths of the two teams to determine the statistical chance of a particular result (1, 2 or X) occurring for a particular relative strength. For instance, for all games played between two teams that follow each other on the position list (first against second, fifth against sixth, etc. ) whereby the stronger of the two is playing at home, it may be found that in 45% of the games the home team won; in 20% the home team lost; the remaining 35% of the games ended in a draw. Similar calculations can be made for all possible relative strengths, and the results can be plotted as shown in figure 1. How can this knowledge be used? One possibility would be to make a sufficient number of ‘predictor discs’ as shown in figure 2. Each dise corresponds to a pools predictor 79053 - 2 Figure 1. Statistical analysis will show that the percentage chance of the result of a game being 1, 2 or X depends on the rel strengths of the two teams. If ‘relative strength’ is defined as the difference between the positions of the two teams in the total list, the results for all possible combinations of teams in a 20-team league will be approxi- mately as shown here. Figure 2. One way to make use of this stat- istical knowledge would be to throw darts at spinning discs of the type shown here. The areas of the three sectors correspond to the percentage chances for one particular relative strength, as derived from figure 1. The disc shown here would be valid for a relative strength of 1: 12 — for instance, if the third team is playing at home against the fifteenth team. Figure 3. Complete circuit of the pools predictor. : pools predictor N1...N3=IC1= CD 4023 N4...N7=IC2>CD4011 N8...N13=IC3= CD 4069 Home ~q—— Away TUN 79053 3a 6/15mA s - (+)4,5V + O) @® & 45V ic1 Ic2 13 4 GO (0) elektor february 1979 — 2-07 relative strength, and it is divided into sectors corresponding to the percentages. To ‘determine’ the result of-the game between teams 5 (home team) and 14 (away team) the disc 1 : 10 is spun rapidly and a dart is aimed off-centre. The point where it hits the disc (‘a’ in figure 2) is taken as the ‘probable’ result. This system is complicated, time-con- suming and difficult to implement in practice. An electronic simulation is preferrable. Electronic statistics! Detailed analysis of the ‘cardboard disc and darts’ system gives the basis for an electronic ‘predictor’. There are three possible results, therefore, an electronic circuit is required with three possible outputs, only one of which can occur at any given time (mutually exclusive). Each of these three outputs is possible during a percentage (corresponding to figure 1) of a total period time. Each ‘relative strength’ is derived from settings of potentiometers and used to determine the percentages. The output conditions can be displayed using LEDs and operating a push- button ‘freezes’ the display at one particular result. Since only one of the three possible outputs can occur at any time, a single LED will light — indi- cating the result: 1, 2 or X. This, basically, is the operating principle of the pools predictor. The circuit The complete ‘pools predictor’ is shown in figure 3. The three mutually exclusive outputs are derived from N1 ...N3 and these outputs are inverted by N8, N10 and N12. For one particular output to be at logic 0, the three inputs to the corresponding gate must all be at logic 1. Since the output of each gate is connec- ted to the inputs of the two other gates (either direct or via two inverters in cascade, which amounts to the same thing), a gate can only be at logic zero if both other gates are at logic 1: at any given time, only one output can be at logic zero. However, gates NI and N2 cannot remain at logic zero for long. N1, for instance, together with N8, R2, Pla, P2a, R17 and Ci forms an astable multivibrator. If the output of N1 initially goes to zero, it will return to logic 1 after a time determined by the setting of Pl and P2. This causes the output of N2 to go to logic zero; since N2 is part of a similar circuit, its output will also return to logic 1 after a certain time has elapsed, causing N3 to go to logic 0, The output of N3 will now remain at logic O until it receives a pulse, via C6, from the clock generator (N6/N7). The clock frequency is preset, by means of P3, so that the corresponding period is always longer than the total period of N1 and N2. The result, so far, is that the 2-08 — elektor february 1979 Parts list: Resistors: R1,R3,R4,R6,R7,R8,R9,R11, R14,R15=39k R2,R5 = 33k R10 = 220 R12 = 6M8 R13 = 4M7 R16= 270k R17,R18= 100k Plab = 470 k lin stereo-potmeter P2ab = 470 k lin stereo-potmeter P3 = 1 M preset potmeter Capacitors: C1,C2,C6 = 10n c3=15n C4 =330n C5 =8n2 Semiconductors: D1... D5 = DUS D6...D8=LED 1...74= TUN IC1 = 4023 IC2 = 4011 IC3 = 4069 Miscellaneous: S1 = single-pole switch $2 = pushbutton pools predictor outputs of N1, N2 and N3 are at logic zero alternately, for periods determined by the settings of P1 and P2 and the preset clock frequency. ‘The disc is spinning’. Operating S2 triggers a monostable multivibrator (or ‘one shot’) consisting of N4 and NS. For a short time, the output of N4 goes to logic 1. Via diodes D1, D2 and D3 the three ‘sensitive’ inputs of N1 ...N3 are held at logic 1, the multivibrator circuits around N1 and N2 are blocked, and clock pulses to the input of N3 have no effect. The result is that the output states of the three gates will remain unchanged for the duration of the one-shot period. Simultaneously, the output of N4 turns on T4 (via R15). One, and only one, of the transistors T1...T3 will now conduct: the emitters are all connected to supply common through T4, and one of the bases will be driven from the inverter connected to the output of the gate (N1, N2 or N3) that is at logic 0. This, in turn, causes one of the LEDs (D6 .. . D8) to light. When the one-shot period has elapsed, the LED will extinguish. If necessary, Pi and P2 can be readjusted; pressing $2 then produces the next result. Using the relative league positions of the home and away teams for the settings of Pl and P2, progressing down the coupon and noting the displayed results, will produce the positions of the possible draws for that week. Warming up. A suitable printed circuit board and component layout are shown in figure 4; wiring to the other components (P1, P2 and the battery) are shown in figure 5. The circuit can be powered from a 4.5 V ‘flat’ battery, since the current consumption is only 600 A for most of the time (increasing to 15 mA for the brief period during which one of the LEDs is lit). The dual-gang potentiometer Pl is the ‘home’ team relative-position setting; P2 is used to indicate the relative pos- ition of the ‘away’ team. Both are scaled from | to the number of teams playing in the league division. An example of a scale catering for both the English and Scottish divisions is shown in figure 6. The only preset adjustment is P3. P1 is first set to position 1 and P2 is set to its highest value, this corresponding to the situation where the chance of the home team winning is 80%, whereas the chances of the home team losing and of a draw are both equal to 10%. The duty- cycles at the outputs of N2 and N3 should therefore be the same. A multi- meter is used to measure the (average) DC voltage at the base of T2, after which P3 is adjusted until the same (average) value is found at the base of Me K pools predictor 79053 5 elektor fabruary 1979 — 2-09 Figure 4. Printed circuit board and com- ponent layout (EPS 79053). Figure 5. Particular care should be taken when wiring up the potentiometer to the p.c. board, as otherwise the predictions will not be relative to the calculations for figure 1 and this may not be apparent initially. Figure 6. Suitable scales must be made for P1 and P2, running from 1 up to the number of teams playing in that particular league, with the lowest team position being fully clockwise. Figure 7. Layout design will follow many variations, depending on personal preferences, an example of which is shown here. Liverpool Everton West Bromw. Arsenal Nottingham Manch. Un. Coventry Tottenham Leeds Aston Villa Bristol Southampton Norwich Derby Manch. C. Ipswich Middlesbr. Queens Park Bolton Wolverhampt. Birmingham Chelsea Oomoryoanhwn— 2-10 — elektor february 1979 or Ss Using a couple of inexpensive CMOS ICs it is not difficult to build a simple D/A converter which affords the possibility of generating analogue signals from software. From an idea by T. Basien and P. Haberoetzer One of the ‘problems’ facing the micro- processor user is how to interface his system with the ‘real world’. The fol- lowing simple circuit for a D/A con- verter should prove useful in extending the number of possible applications for which, among others, the Elektor SC/MP system can be used. The circuit diagram of the converter is shown in figure]. The actual conversion is performed with the aid of a voltage divider network comprised of resistors connected to the outputs of a quad LDIFF = TAB: OF Od OF XPAL1 2E LDIFF 4D XPAH1 6c LDIOF 8B XPAH2 AA LDI90 co XPAL2 E8 LDI10 D7 ST COUNT B6 LD@ 1(1) 95 ST 00(2) 74 DLD COUNT 53 Jz $1 32 JMP $2 i COUNT oo latch (IC1). The inputs of the latch are connected to the data bus of the SC/MP, Thus to write data into the latch it is simply put on the data bus whilst the appropriate address is sent out on the address bus. The address decoder (IC3, IC4 and N1...N3) decodes all 16 address bits, and since the data bus is 8 bits wide two quad latches can be used simultaneously. The address of the latches in the above circuit is FFFF. Depending upon the data byte present on the latch inputs, a logic ‘1’ or logic ‘0’ will appear on the corresponding resistors at the outputs of the latches. In the case of CMOS ICs a logic ‘1’ is +5 V, whilst logic ‘0’ is O V. Thus at the junction of R1...R4 and R5...R8 will appear a voltage which may lie between 0 and 4.6 V — depending upon the number of logic ‘1’s’ on the latch outputs. The resistor values are chosen such that the output voltage range (0 - approx. 5 V) is divided into virtu- ally equal steps, the lowest voltage DATA-BUS S a g c a 9 D/A for uPs corresponding to the number X’O and the highest to X’F. Al and A2 are simply output buffers (voltage fol- lowers), whilst P1 and P2 allow the voltage levels to be adjusted as desired. Since one gate of ICS is spare, it can be used to invert one of the address bits, so that a different address can be chosen for the converter. Program Table 1 provides just one example of the many possible programs which could be used to generate an analogue output signal from software. The program shifts data byte for byte out of a 16 byte table (starting at OFQQ) into the latches. When all 16 bytes have been transferred the program jumps back to the start (OF 9) and repeats the process, so that a simple periodic signal is pro- duced. The type of waveform generated by the above program is illustrated in figure 2. 1 IC3 = 4068 1C4 = 4068 Ni... N3 =1C5= 4001 delay lines ‘delay lines One of the most important sound- processing techniques employed by amateur and professional musicians as well as sound recording studios is the electronic delay line. Reverberation, echo, vibrato, phasing, flanging and chorus are just a few of the special effects which can be obtained by delaying an audio signal. However the applications of delay units are not restricted to audio effects; sound reinforcement systems, level control equipment, speech processors all employ delay lines in one form or another. The following article takes a close look at the ‘ins and outs’ of this device, and examines some of the less well-known uses to which it is put. As is well-known, sound travels through free air at a speed of some 1150 feet per second, which means that, even over comparatively short distances, it takes a perceptible length of time to reach a listener (roughly 25...30ms per 10 yards). When listening to music — re- gardless of whether it is being reproduced via a domestic stereo system or by a full-scale orchestra in a concert hall — the signal reaching one’s ears will be a mixture of direct and delayed sound. The former travels straight to the listener from the sound source, whilst the latter is first reflected off the walls, ceiling, furniture etc, and hence must cover a greater distance. The fact is that the human ear is extremely sensitive to differences in the time taken for a signal to arrive and to the level of reflected sound which it contains. A signal which is deprived of natural reverberation, e.g. the output of an oscillator listened to via headphones, sounds distinctly ‘artificial’ and is often experienced as being somewhat unpleasant, inducing listener fatigue. Close-miking techniques during record- ing often have the effect of depriving a piece of music of natural reverberation, with the result that the sounds seems ‘dead’, ‘flat’, devoid of any ambience. For this reason studios must introduce artificial reverberation to restore the natural fullness and ‘body’ of the music. Many concert halls which have in- herently poor acoustics can be improved by employing delay lines to control the reverberation characteristics elec- tronically. By varying the length and level of reverberation the acoustics of the hall can be tailored to suit the type of music being performed — long rever- beration times for orchestral works, shorter times for chamber music. In addition to simulating the sound reflection characteristics of particular acoustic environments, delay lines can also be used to process the music signal in a variety of ways and obtain a range of often spectacular effects, Certain psychoacoustic responses of the brain can be exploited to convince the listener he is hearing not one but several voices — ie, ‘chorus’. Phasing/flanging and ‘space’-effects can be obtained — the latter being an extremely ‘un-natural’ elektor february 1979 — 2-11 and sciencefiction like sound which has no exact correlation in real life. Further applications for delay lines are in signal processing equipment where they are used to give the control circuits suf- ficient time to iron out signal overloads, glitches etc. before being fed on to the next stage; and in P.A. systems, where they can considerably improve the intelligibility of speech signals. For a number of years there have been delay lines of an electro-mechanical type — the most well-known being the ‘echo chamber’. This is simply a specially designed enclosure whose acoustic re- sponse can be varied by the use of curtains, tiles etc. to alter the sound- absorbing properties of the reflective surfaces. The signal to be echoed is reproduced via loudspeakers and then picked up by carefully situated micro- phones. An expensive process, and one which is limited by the size of chamber being used. For reverberation and echo effects electro-mechanical units based on spring lines or metal foils are also popular. In this type of delay line an acoustic signal is fed into e.g. a helical spting via a transducer, The signal travels round the coils of the spring until it is picked up at the other end via a second transducer which reconverts it into an electrical signal. Unfortunately, however, this type of unit has a number of limitations. Firstly, they are fairly limited in the range of possible appli- cations, being restricted to echo/reverb effects. Secondly, they are extremely susceptible to external vibration (micro- phonic) and furthermore they tend to exhibit resonance modes of their own, so that their frequency response is not perfectly flat. Similar problems of inherent sensitivity to mechanical dis- turbance apply with tape echo/reverb machines employing several replay heads which are mutually offset to provide variable delay to the audio signal. Tremendous demands are placed upon the mechanical engineering of such units, which of course means that they are generally fairly expensive. Fortunately, however, recent advances in hardware have made possible the development of all-electronic delay lines, which not only are more reliable, provide uncoloured, faithful sound 2-12 — elektor february 1979 delay lines Input Amplifier Filter Low Pass Digital Memory Converter Low Pass Filter Amplifier Output quality, and are often considerably cheaper, but also can be used to produce a wide variety of time-related special effects. Electronic delay lines Unlike electromechanical delay units, the audio signal is not transmitted continuously through the delay line but rather is sampled at a frequency which must be at least twice the highest signal frequency. The samples are then clocked through some form of shift register and the original signal is reconstituted at the output by lowpass filtering to remove the clock frequency components. A basic distinction can be made between two types of electronic delay line. There is the digital delay line, which employs either random access memory (RAM) with special control logic, or digital shift registers; in both cases the digital memory must be preceded and followed by A-D and D-A converters. On the other hand there is the analogue delay line, which employs analogue ‘bucket- brigade’ —or CCD (Charge Coupled Device) memories. Figure 1 shows the block diagram of a digital delay line. A clock generator controls the A-D and D-A converters as well as the rate at which the sampled signal is read into and out of the digital shift register. Two basic methods of A-D conversion are used: delta modulation and pulse code modulation. The delta modulator has a single output in the form of a train of pulses which provide a continuous indication of whether the analogue input signal is increasing or decreasing. If the former is the case, the output of the modulator will be high, if however the analogue signal is falling, the modulator will output a logic ‘0’. If the input signal were constant, the modulator would output 01010101... The digital reverberation unit described in the May 1978 issue of Elektor (no, 37) employed just such a modu- lator. With pulse code modulation, on the other hand, the analogue signal is converted into rows of pulses which, in binary code, represent the instantaneous eee eee o Weteese one erate ak value of the samples. The process can be likened to comparing the analogue signal with a reference voltage which takes the shape of a rising staircase waveform, As soon as the reference voltage exceeds the analogue signal the output of the comparator changes state. The height of the staircase, ie. the number of steps it contains, is an index of the size of the analogue signal. The number of bits in each binary word (i.e. the number of outputs of the A-D converter) determines the resolution or accuracy of the conversion. The greater the number of bits, the greater the number of steps in the staircase, and hence the smaller is the error introduced by the fact that the minimum variation in signal level that the converter will detect is equal to the height of one step. To obtain a satisfactory resolution it is usual to employ at least a 12-bit code, which means that there are 2!* = 4096 steps in the staircase. If the height of each step is the same, the code is said to be linear, ie. there is a linear relation- ship between the analogue input and the binary-coded output of the converter. If, on the other hand, the step height is not constant, the code is said to be ‘companded’, whilst it is also possible for the staircase to have several ‘flights’ of steps, whereby the height of the steps vary from flight to flight. In this case the conversion characteristic will have a number of ‘kinks’ in it. In addition there is a sophisticated technique known as ‘floating decimal point encoding’ which can be employed to improve the range of the converter. Thus it is possible, for example, to vary the gain (or attenuation) of the A-D converter in accordance with the amplitude of the input signal. The information relating to the degree of gain introduced by the converter is also binary coded and transmitted along with the digitised version of the analogue input, so that the inverse amount of gain/attenuation can be applied in the process of D-A reconversion at the output, thereby restoring the original signal level. The binary data is either clocked through a digital shift register or, with delay lines élektor february 1979 — 2-13 Amplifier Filter the aid of special control logic, through a random access memory (RAM). The rate at which the data is transferred, and hence the amount of delay introduced, is of course determined by the clock frequency. According to Nyquist’s sampling the- orem, the sampling frequency must be at least twice the maximum signal frequency. For this reason the analogue input signal is bandwidth limited by a lowpass input filter which has an extremely sharp roll-off. A similar arrangement is required at the output of the delay line in order to remove the high frequency clock components and any spurious products caused by the signal and clock frequencies interacting. Digital delay lines have the advantage that they can be extended to virtually any desired length without adversely affecting the signal quality. This is in contrast to analogue delay lines, in which the degree of attenuation intro- duced into the signal is proportional to delay time. Digital shift registers are thus ideally suited for applications requiring longer delay times. Furthermore, the ability to use long delay lines means that it is possible to increase the clock frequency and hence the maximum permissible bandwidth of the system whilst retaining reasonable delay times. The disadvantage of digital shift registers is the relatively high cost of A-D and D-A converters. Although the digital shift registers themselves are actually cheaper than their analogue counterparts, the additional expense of A-D-A conversion pushes the price up considerably. This is particularly true if one requires a digital delay line with a number of different outputs, each with a separate delay time. In this case a D-A converter is needed for each output, whereas with an analogue delay line the signal can be fed straight out at virtually any point. Analogue delay lines can be divided into those using so-called bucket-brigade memories, and those which employ charge-coupled devices. The basic prin- ciple involved is the same in both cases, the difference being in the chip structure of the two types of device. The term Clock Generator Bucket Brigade Device Figure 1. Block diagram of a digital delay line for audio signals. The analogue input signal is first bandwidth-limited by feeding it through a lowpass filter, converted into a digital signal by means of the D-A converter, then clocked through a digital shift register or random access memory at a rate determined by a clock generator. At the output of the digital memory the delayed, sampled signal is recon- verted into an analogue waveform before being passed through a second /owpass filter which rolls off the clock frequency com- ponents. Figure 2, An analogue delay line for audio signals employing a bucket-brigade shift register, Charge levels representing the instan- taneous value of the sampled analogue wave- form are passed from capacitor to capacitor like buckets of water being passed down a chain of fire-fighters. Photo 1. A professional electronic reverber- ation unit, the EMT250, This unit, which employs digital delay lines and microcomputer- controlled random access memory (128 K), provides 19 different delay elements, which under programme control, can simulate a wide variety of effects such as phasing, chorus, echo and of course reverberation. Amplifier ‘bucket-brigade’ comes from the fact that the operation of the shift register can be likened to a chain of men passing buckets of water down a line. In the case of the chip, the buckets are in fact capacitors, and the ‘water’ is packets of charge which correspond to the instan- taneous value of the sampled analogue waveform. The charge packets are transferred from capacitor to capacitor via FET switches which are controlled by a two-phase clock. Since the integrated capacitances on the chip are far from representing ideal capacitors, and have a_ significant leakage current, the samples are inevi- tably attenuated as they pass through the shift register. However, as each sample is attenuated by the same amount, the envelope of the original waveform is preserved. Unfortunately, when longer delay times are required, which means that the signal must be shifted through large numbers of stages, the cumulative effect of all these small losses adds up to a perceptible deterio- tation in the signal-to-noise ratio. This is a particular problem when feedback loops are used and the signal passes through the same shift register several times, Bucket-brigade memories are superior to charge-coupled devices in this respect and are to be preferred for audio work. However CCD’s offer higher chip densities (a typical CCD delay line will contain upward of 64 separate shift registers, each containing 256 stages) and are better suited for high frequency applications such as delaying video signals. The basic elements of a delay line featuring bucket-brigade memories are illustrated in figure 2. Once again steep lowpass filters at the input and output are necessary to band-limit the input signal and eliminate clock frequency components. Applications of delay lines By far the commonest, but also the most complex application of delay lines is in producing reverberation. Reverber- ation is an acoustic phenomenon which is an integral feature of all normal } 2-14 — elektor february 1979 Direct Reflection Multiple Reflection \ aS ™S, B : o-4 Direct Sound -10-4 ‘Ist Reflection delay lines | Figure 3. Iltustration of the various paths of sound waves as they travel from the signal Source around a rectangular room to the listener. Figure 4. Amplitude v. time graph which illustrates the density and decay characteristics of echoes during the reverberation period of a single sharp sound signal. The amplitude of and interval between successive reflections is determined by the path lengths of the sound waves and also by the sound-absorption Properties of the reflective surfaces they encountered. As can be seen, after only a relatively short time the reverberation signal possesses an extremely high echo density. This rapid increase in the number of reflec- tion signals is a characteristic property of the acoustic phenomenon, ‘reverberation’. Figure 5a. Block diagram of a simple rever- beration module, comprising a delay line with delay time +, and a feedback loop which attenuates the delayed signal by a factor g. Figure 5b. Circuit diagram for the simple reverberation module of figure 5a. The attenu- ation, g, of the feedback signal can be con- tinuously varied from 0 dB with the aid of the potentiometer. Figure 5c. Amplitude v, time graph of the output signal of the simple reverberation circuit, where t = 20 ms and g = —3 dB (0.7). Figure 5d. The frequency response of the simple reverberation circuit resembles that of a comb filter. The delay time, r, determines the interval between successive peaks in the response (= 4, whilst the attenuation, g, of T the feedback loop determines the amplitude of the peaks. delay lines delay module T A1,A2 = LF 356, 1/4 TL 084, (741) 20 40 60 80 100 120 140 180 180 200 220 240 (ms) —— 79058 - 5c elektor february 1979 — 2-15 listening environments, be they domestic living rooms or concert halls. Only in specially constructed so-called anechoic chambers will reverberation — the re- flection of at least part of the sound wave off the walls, ceiling and floor, be absent. In a large volume enclosure, such as e.g. a cathedral, which has hard reflective interior surfaces, a sound may take as long as four or five seconds to die away. This provides a wonderful acoustic environment for a church organ, yet tends to render human speech all but unintelligible unless spoken extremely slowly (the acoustics of churches are probably the prime reason for the somewhat rather meandering, sing-song inflection often adopted by ministers or priests!) In addition to the walls, ceiling etc, of a concert hall, the number of people present also influences the acoustics. A hall which is completely filled will have a shorter reverberation period than the same hall when it is half empty — unless, of course, as is the case with the Albert Hall, the seats are designed to have similar reverberation characteristics to those of people. ~ The dispersion pattern of a short, sharp sound signal in a conventionally-shaped domestic room is illustrated by the diagram in figure 3. First of all the listener will hear the original signal travelling straight from the source of the sound. This is followed after a short interval, by the first direct reflection- from the nearest wall, and is succeeded by further direct reflections from more distant surfaces such as ceiling, floor and rear walls etc. These quickly merge into the increasing number of indirect or multiple reflections off more than one surface, Since the energy of the sound waves is absorbed as they strike each reflective surface, the amplitude of the ‘echo’ signals fall more or less exponentially. An important and characteristic feature of natural reverberation is the high density of reflected signals. When simulating reverberation electronically it is necessary to provide around 1000 echoes per second for the effect to avoid sounding artificial. Furthermore, it is also important that the spacing of the echoes be non-periodic. These points are illustrated in the amplitude v. time graph shown in figure 4. The basic circuit configuration for a reverberation unit is shown in figures 5a and 5b. As can be seen, this consists simply of a delay line with a feedback loop. The corresponding graph of amplitude v. time is given in figure 5c. By attenuating the portion of the delayed signal sent back round the feedback loop the reverberation signal can be made to decay exponentially as desired. The reverberation time is defined as the time taken for the amplitude of the signal to drop to 1 millionth of its original level, ic. 60dB down. In the case of the simple circuit in figure 5a 2-16 — elektor february 1979 delay lines Figure Ga. An extension of the basic reverb circuit is the ‘all-pass’ reverberation module, which has a linear frequency response. Figure 6b. A practical circuit of an all-pass reverberation unit, with a damping factor of —3.5 dB (0.66). Figure 7. By mixing the outputs of several delay lines in different proportions, it is possible to simulate more accurately the natural acoustics of different types of room. Figure 8. Professional electronic reverberation units typically employ a large number of delay lines in order to obtain truly authentic reverberation characteristics. The compara- tively simple circuit shown here nonetheless contains four parallel-connected reverberation modules of the type shown in figure 5, followed by two all-pass modules as in figure 6. Potentiometer g7 determines the relative proportions of direct and delayed signal mixed in the output stage. the number of times the delayed signal returns around the feedback path before it reaches this level can be calculated by dividing 60 dB by the attenuation, g. of the feedback loop. The reverberation time, T, is then equal to the number of times the signal loops round the feedback path multiplied by the delay time Tr: pe, g T A delay time of 50 ms and an attenu- ation of 3 dB will give a reverberation time of 1 second. Here, however, we come up against the first problem caused by employing this simple ar- rangement. To achieve sufficient rever- beration times (1...2 seconds) one must either use long delay times, which means a low echo density, or else short y= Al... A4= TL 084, RC 4136, (LM 324) delay times with a high echo density, In the former case the reverberation sounds unnatural, whilst a high echo density involves reducing the attenu- ation of the feedback loop to the point where the circuit will tend towards instability. Furthermore, because the delay time of the shift register is con- stant, the diffusion rate or spacing of the reflection signals will be regular. A further limitation of the circuit lies in the fact that it has a comb-filter-like response, with periodic dips and peaks (see figure 5d). The distance between the peaks is equal to ‘, thus, with the delay time shown in figure 5c of 7=20ms, the frequency response of the delay line will exhibit a peak every 100 Hz. The difference in amplitude = Boe Tee = 0.66 (-3.5 dB) R3__ 100 K “Ra” “50K = 0,66 BS = 100 Ko. 55 between the peaks and dips is inversely proportional to the amount of attenu- ation, g. introduced in the feedback loop. Thus, for g=0.7 (—3 dB), the eis OL07 Tatio is igo feos The above-described drawback can be avoided by employing the configuration shown in figure 6a, which is an ex- tended version of the simple circuit of figure Sa, and which has a flat fre- quency response, The input signal is attenuated by a factor equal to the attenuation of the feedback loop, inverted and then summed with the output of the delay line, which itself has been attenuated by a factor of 1 - g?. In practice the process is simpler than it may at first appear. =5.7 or 15 dB! delay lines elektor february 1979 — 2-17 A1,A2 = 1/4 TL 084, LF 356, (741) Generally speaking the attenuation of the feedback loop is —3 dB (a factor of 0,7), so that 1 - g? =1-0.77 =1-0.5 =0.5 (—6 dB). In practice this factor of 0.5 is nothing more than a symmetrical voltage divider. Figure 6b shows the equivalent circuit diagram for the block diagram of 6a. Through a suitable choice of values for R2, R4 and R6 an attenuation, g. of 0.66 (3.5 dB) is obtained, Although the delay circuit shown in figure 6b will have a flat frequency response, it does not solve the problem of insufficient echo density and the regular spacing of the echoes. The echo density can be increased to an acceptable level by connecting several ‘all-pass’ reverberation circuits as shown in figure 6b in cascade and arranging for Al... A3=1/4TL084, LF 356 (741) the first delay element to have the longest delay time, and each successive delay time to be a third of the previous. To prevent the echoes occurring at regular intervals, the delay times are chosen such that they have no common denominator. Thus the natural reverber- ation characteristics of a conventional room (amplitude, diffusion pattern and density of echoes) can be fairly accu- rately approximated by employing five delay modules of the type shown in fig. 6b with delay times of 100, 68, 60,19, 7 and 5.85 ms respectively. Another possible approach for achieving natural electronic reverberation is shown in figure 7. The different reflection paths of a signal reproduced in a room are simulated by connecting a number of delay modules in cascade. Reverber- ation times of differing length can be realised by means of the level poten- tiometers at the output of each shift register. The individual delayed signals, each representing a different reflection path, are summed, and the overall reverberation time is determined by a common feedback level control, Once again delay times should be chosen which do not have a common denomi- nator. When selecting the various delay times it is worthwhile bearing in mind the corresponding path lengths which the signal would cover in that period. Thus, for example, a 10ms delay would correspond to a path length of 3.3m (there and back!) so that one is simulat- ing the effect of a reflective surface 1.65 m from the sound source. A delay tor february 1979 delay module 71=100 ms delay module 72 =31ms delay module 73=23 ms delay module 74= 60 ms A = LF 356 (741) delay module delay lines of 100 ms on the other hand, would correspond to a path length of 33 m, i.e. would simulate the effect of a small hall. Generally speaking delay times of less than 10 ms are avoided, and long delay times (greater than 100 ms) are only used if a particularly ‘spacious’ or ‘echoey’ effect is desired. The number of delay lines depends upon the application, however in general one can say that the greater the number of echoes, the more natural- sounding is the system. At any rate, a minimum of four delay lines is a must. Reverberation Figure 8 shows the basic design for a reverberation unit, which, assuming the delay modules are of suitably high quality, will satisfy even professional requirements. The circuit consists of a parallel connec- tion of four simple reverberation modules, SR1...SR4, of the type shown in figure 5b. These are followed by two all-pass delay modules of the type shown in figure 6b. The values of delay times 71 ...74 are chosen within the range from 30 to 45 ms such that they share no common denominator. The damping factors gl ...g4 should all lie below 0.85, otherwise the comb response of the delay lines will prove over-prominent. The shortest delay time of the first four modules determines the delay between the direct signal and the first reflection. The two all-pass reverber- ators, ARI and AR2, provide suitable echo density; acceptable values for 75 and 76 are roughly 5ms and 1.7 ms respectively, whilst a suitable value for g is something in the region of 0.7. If it is desired to make the reverberation time frequency-dependent, this can be achieved quite simply by inserting an RC network with the appropriate turnover frequency in the feedback loop. Professional electronic reverberation units used in studio work etc. often incorporate an even greater number of delay lines. Thus, for example, the EMT250, a programmable digital reverb unit (see photo 1) has four outputs, each of which can be set to provide specific delay characteristics. 19 separate delay lines provide reverberation times between 0.4 and 4.5 seconds in 16 switched steps. Some of the delay lines incorporate feedback, and in each case the degree of feedback can be indepen- dently varied by the operator. In addition to these professional reverb units, a number of instruments have recently appeared on the market which are intended to improve or compensate for the reverberation characteristics of domestic listening environments. One such unit is the Audio Pulse Model One from Digital Delay Systems which employs digital shift registers and delta modulator A-D and D-A converters. This unit provides a stereo reverberation signal which is reproduced via two delay lines additional loudspeakers situated on either side of the listener. As can be seen from the block diagram of figure 9a, the delay lines are arranged in a cross-coupled configuration. This ap- proach provides a high echo density, whilst choosing delay times which have no common denominator once again eliminates periodic echoes. The short delay times which are necessary for a high echo density would normally limit the available reverb times to an unac- ceptably short value. However this problem is solved by employing four delay lines (see figure 9b) one of which provides a delay of roughly 100 ms. This long delay ensures an ample reverberation time, whilst the remaining three delay lines, which are considerably shorter, are responsible for the rapid transition to high echo density. The ‘Acoustic Dimension Compiler’, ADC-2 from WEGA (see photo 2) is designed for a similar purpose, namely to reproduce a reverberation signal via two ancillary loudspeakers situated in the living room. The ‘space’ control varies the delay time, whilst the ‘reflec- tion’ control determines degree of feedback round the delay lines. The ‘characteristic’ switch varies the high frequency response of the unit. Echo In contrast to reverberation, echo is characterised by relatively long delay times, and more importantly, the regular repetition of individual reflection signals. In the simplest example of echo, say the reflection of a shouted sound from a cliff or mountain face, the signal is thrown back to the listener just once, and reaches him after a time, t, which is determined by the distance between himself and the reflective surface. The electronic equivalent would be a simple delay line whose output signal was attenuated and then mixed with the original direct signal (see figure 10). If one extends the model slightly to include a second cliff face at a certain distance from the first, the sound signal is slowly reflected to and fro between the two surfaces, with the result that one can clearly distinguish between successive echo signals. This effect is quite simple to simulate electronically: A simple reverberator circuit such as that already shown in figure 5 can be employed; one merely has to use longer delay times and reduce the attenuation introduced by the feedback loop. Depending upon the length of the delay and the degree of feedback, extremely varied echo effects can be obtained. With delay times under roughly 20 ms, the comb response of the module lends a metallic-sounding tone to the resultant signal, whilst delays of between 50 and 70 ms still produce a ‘harsh’ or rough effect. It is only with longer delays that the overall frequency response becomes less irregular and the separate echo signals become discernible. If the delay elektor february 1979 — 2-19 time (interval between echoes) is set to coincide with the rhythm of a piece of music, extremely interesting effects can be obtained. Space effects - ‘super echo’ ‘Space’ effects are characterised by extremely long reverberation times (approx. 10 seconds), giving a sort of ‘super’-echo which has no equivalent in real life. (because of the sound- absorption properties of air, reverber- ation of this duration cannot occur naturally). For this reason the effect has been christened ‘space’ and is extremely popular in sci-fi applications. The effect is obtained simply by using very long delay times and recirculating a large proportion of the delayed signal round the feedback loop. First reflection delay In the case of electro-acoustic reverber- ation units such as spring lines and reverberation plates as well as echo chambers, which often have extremely small dimensions, the initial delay between the original signal and the first reflection or echo is frequently too short for the reverberation to sound natural. This problem can be overcome by employing an electronic delay line to provide a sufficient interval between the direct signal and the reverb signal from the electro-acoustic reverberator. Delays of between 20 and 100 ms are normal in this type of application, however in recordings of pop records the initial delay period is often extended to greater than 100 ms in order to obtain special effects. Many electronic reverb units incorporate a special variable delay module in order to provide independent control of the ‘first reflection’ delay. Of particular interest for the electronics ——— Figure 9a. Simple reverberation circuit em- ploying two cross-coupled delay modules to obtain stereo reverberation. Figure 9b. An extended version of the stereo reverb unit which provides increased echo density. Suitable reverberation times can be obtained by selecting a delay time of around 100 ms for 71. Figure 10. A circuit to produce single-echo effect. Photo 2. The Acoustic Dimension Compiler {(ADC-2) from WEGA which employs a bucket-brigade delay line is an example of a reverberation unit igned for use with domestic hi-fi installations. enthusiast cum music fan, is the use of delay lines to achieve special effects such as phasing, flanging, vibrato, chorus, ensemble and string ensemble. These and allied effects are obtained by varying the frequency at which the delayed signal is clocked through the shift register, in contrast to reverb and echo, where the clock frequency of the delay line is constant. Several psycho-acoustic phenomena con- nected with the delaying of audio signals and how these effects can be exploited to ‘improve’ room acoustics and studio recordings together with the highly specialised areas of speech manipulation and pitch correction are beyond the scope of this article but could merit a further article in the not too distant future. Photographs: Photo 1: EMT-FRANZ Gmbh. 7630 Lahr. Photo 2: WEGA Bibliography: Schroeder, M.R. and Logan, B.F. ‘Colorless Artificial Reverberation’, J, Audio Eng. Soc., vol. 9 nr. 3 pp. 192-197, July 1961. Schroeder, M.R. ‘Natural sounding Artificial Reverberation’, J. Audio Eng. Soc,, vol. 10, nr. 3 pp. 219-223, July 1962 EMT ‘Elektronisches Nachhallgerdt EMT 250’, EMT-Kurier Nr. 26, pp. 3-8, Februari 1976 EMT ‘Digitales Tonsignal- Verzégerungsgerat EMT 444’, 1 st paragraph, ‘Warum verzdgern?’, EMT-Kurier, Nr. 30, pp 3-6, July 1978 Reticon Corp. ‘Acoustic Applications of Serial Analog Delay-Devices - Reticon SAD 1024 Serial Analog Delay’, Application Note no, 104 Mitchell, P.W. and DeFreitas, R.E. ‘A New Digital Time-Delay and Reverberation System Part IT: Psycho-acoustics vs. Practical Electronics’. presented at the 55th AES convention October 1976, AES Preprint No. 1191 (L-6). Elektor ‘Digital Reverberation Unit’, Elektor 37, pp 5-08 - 5-16. May 1978 Elektor ‘Analogue Reverberation Unit’, Elektor 42, pp 10-44 - 10-50, October 1978. i 2-20 — elektor february 1979 spot sinewave generator eS I ssSssSSSSSSS———___ pot sinewave generator A sinewave generator is a virtually indispensable tool for anyone engaged in the testing or measuring of electronic equipment. It is commonly used when measuring the frequency response or dis- tortion characteristics of audio equip- ment. In particular, harmonic distortion is still considered to be one of the im- portant parameters in performance of | audio amplifiers, and in order to measure | this accurately, it is obviously imperative that the input test signal itself have as little distortion as possible. In fact the distortion of the input sinewave must be at least an order lower than that intro- duced by the amplifier. Furthermore, it is important that the frequency of the sinewave be extremely stable, if one is to avoid having to constantly retune the notch filter in the distortion meter (see the circuit for a distortion meter pub- lished in Elektor 27/28, July/August 1977). The amplitude stability of the sinewave is of secondary importance in distortion measurements, however it is often a critical factor in a number of other test applications. Continuous or ‘spot’ If all three of the above-mentioned demands on a sinewave generator, viz. amplitude stability, constant frequency, and extremely low distortion, are to be satisfied, then unfortunately it more or less precludes the use of a sinewave generator with continuously adjustable frequency. It is true that such devices do exist, however they are exceedingly complex and expensive, and the number There are a number of measurement jobs which require an AC test signal, which, as nearly as possible, is a perfect sinewave. Not only must the amplitude of the signal be absolutely stable, but the hum, noise and harmonic distortion components must be reduced to a minimum. The spot frequency sinewave generator described here will provide a sinewave output with harmonic distortion of less than 0.0025% and whose amplitude is constant to within 0.1%, of commercially available, continuously tunable sinewave generators of high quality can be counted on the fingers of one hand. The basic problem with continuously adjustable sinewave generators is ampli- tude instability. In almost every case, the sinewave output is produced by an oscillator circuit, (1) An oscillator is essentially an amplifier with positive feedback, whereby the feedback loop contains suitable frequency-selective net- works of capacitors and resistors. In the example of the Wien bridge oscillator shown in figure 1, positive feedback is applied via the RC network to the non- inverting input of the op-amp, whilst negative feedback is applied to the inverting input via the voltage divider network formed by Ro and the negative temperature coefficient resistor (ther- mistor). If the negative feedback exceeds the positive feedback the oscillations will not be sustained and the output of the amplifier will fall; if the positive feedback predominates, however, the output of the amplifier will rise until the latter footnote 1 In order to clear up any misunderstandings: a sinéwave generator need not contain an oscillator. A sinewave signal can be obtained by, @.9. suitable filtering of a squarewave provided by an external oscillator circuit. As we shall see, however, if the squarewave is derived from the sinusoidal output of the generator, then the latter must of course contain an oscillator. 3 spot sinewave generator Specifications Harmonic distortion: < 0.005% for: f= 40Hz...10kHz Uout < 6 Vpp Rx. = 600 Q (output |!) Ri > 47 & (output II) typically: 0,0025% falling linearly with amplitude Af, Frequency stability: = 4 c001% osc ak Amplitude stability: a 0.1% Figure 1. The basic principle of a Wien bridge oscillator. Figure 2. Basic block diagram of the oscillator employed in the spot sinewave generator. Figure 3. The amplitude- (a) and phase response (b) of the type of selective bandpass filter used in the spot sinewave generator. Curves ‘1’ show the response obtained for a low Q, curves ‘2‘ for a high Q. The combined response of two such filters connected in cascade can be obtained by adding the indi- vidual amplitude/phase curves of each filter. saturates, The circuit is prevented from lapsing into either of these two con- ditions by the thermistor, which stabil- ises the output amplitude as follows; should the output voltage rise, the current through the thermistor will increase, causing its temperature to rise and hence its resistance to fall. This causes an increase in the proportion of negative feedback, thereby automati- cally reducing the gain of the op-amp. The opposite occurs when the output voltage tends to fall; the resistance of the thermistor is reduced since it dissi- pates less heat, thus also reducing the amount of negative feedback. Assuming that the resistor and capacitor values in the two arms of the bridge are identical, the proportion of output voltage which is fed back round the positive feedback loop at the resonant frequency, fo, of the oscillator is 1/3. The output voltage of the oscillator settles at the value which ensures that the resistance of the NTC resistor is equal to 2Ro. It is obvious that the frequency of the oscillator could be continuously adjusted by using a stereo potentiometer or twin-ganged trimmer capacitor to vary the RC time constants in the arms of the bridge. However, in practice it is impossible to obtain stereo pots or trimmers in which both gangs are perfectly matched. Variations in the resistance or capacitance values between the two arms of the bridge have the effect of altering the positive feedback factor, k, the result of which is a change in the resistance value of the thermistor elektor february 1979 — 2-21 3b fit, 2-22 — elektor february 1979 4 (see figure 1). Thus varying the fre- quency of the oscillator has the effect of also varying the amplitude of the output signal. What is more, the ampli- tude of the output signal at the new frequency (after the balance between positive- and negative feedback has been re-established) differs from that obtained before the change in frequency. The op-amp is not the only source of distortion in the sinewave output (this can be counteracted by a high open- loop gain); a further contributory factor is the fact that the voltage-current transfer characteristic of the thermistor is not completely linear. Other ampli- tude-stabilising components such as filament lamps, diode-resistor networks or voltage-controlled FETs can be used, but these are also by no means perfect. For a large number of applications the above-mentioned failings are not par- ticularly critical; however, for measure- ment purposes where accuracy is important, they represent an unaccept- able source of error. For this reason, the most common solution is to do without the admittedly attractive facility of continuously adjustable frequency and to settle instead for an oscillator with a number of switched output frequencies. Basically this amounts to a series of individual oscillators each designed to produce a single optimal frequency. This elegantly solves the problem of amplitude stability which bedevils con- tinuously variable oscillators. If one considers that a high-quality continu- ously variable sinewave generator will 18 dB/Octave cost in the region of £ 500 - £ 600, whilst a (simple) spot frequency sinewave oscillator on the other hand can be constructed for under £ 10, and further- more, that only four or five test fre- quencies are normally required in harmonic distortion measurements, then it is clear that a spot frequency generator represents a highly cost-effective ap- proach. The distortion meter published in the Summer Circuits 1977 is also designed for spot frequency measure- ments. Spot sinewave generator The basic principle of the spot sinewave generator described here should be familiar to a number of readers, since it was used in the design for a simple spot sinewave generator published in last year’s Summer Circuits issue (circuit 25). The operation of the circuit is illus- trated by the block diagram shown in figure 2. A symmetrical squarewave signal is fed to a number of cascaded selective filters (in figure 2 two such filters are used). These remove the harmonic content of the squarewave, leaving the more or less pure sinusoidal fundamental. The resulting sinewave is in turn used to trigger the squarewave from which it is derived. The amplitude of the sinewave is clipped to + u, before being fed back to the input of the squarewave oscillator, so that the oscillations are maintained. For this in fact to happen, two conditions must be fulfilled: the input- and output signals spot sinewave generator RL > 472 Opl Figure 4. Complete block diagram of the spot sinewave generator. Figure 5. The effect of changes in frequency and of the slope of the lowpass output filter upon the amplitude stability of the generator. Figure 6. Complete circuit diagram of the spot sinewave generator. must be in phase; this means that the phase shift of the selective filters must be either 0°, 360° or a multiple of 360° (the phase shift introduced by the clipping circuit can be neglected). Secondly, the loop gain of the system at the oscillator frequency, fos, must be greater than |. The former is the product of the gain of the clipping circuit plus that of the selective filters, and any damping introduced by an attenuator which may be included in the system. In figure 2 the centre frequencies of the two selective filters are identical, hence fose = fo- The output signal of the clipping circuit is not a perfect squarewave, since it does not have an infinite gain. Strictly speaking the output is aclipped sinewave, which has more in common with a symmetrical trapezoidal waveform. This is all to the good, however, since this type of waveform has fewer harmonics to filter out than a perfect squarewave. Figure 3a shows the amplitude response curve of the type of selective filter employed in the circuit, whilst in figure 3b we see the phase response of the filter. The overall response of a number of filters connected in cascade can be obtained by adding each point of the separate response curves for each filter. The resonant frequency of the system is that at which the combined phase response curve intersects the x-axis, With two selective filters whose centre | frequencies, fo, and fo, are offset slightly, the resonant frequency fose twill equal +/fo, * fo2. The amplitude spot sinewave generator ie ed a =50ma(150ma) values shown in figure 2 assume that the output signal of the limiter is a perfect squarewave and that the resonant gain of each filter is 2. The harmonic sup- pression of the filters is discussed in Appendix 2 at the end of the article, Practical design The block diagram of the full spot sinewave generator is shown in figure 4, whilst figure 6 contains the complete circuit diagram. In contrast to figure 2, the block diagram of figure 4 contains a variable attenuator (in the shape of a potentiometer), a lowpass filter and an output buffer stage. In addition to varying the amplitude of the output signal, the potentiometer fulfils a second function. Without some kind of signal level control at this stage there is the danger that an excessively large input signal would overload the filters, causing their output to clip. The output buffer stage ensures that, even under heavy load conditions, the generator can provide a low distortion output signal. It is an obvious step to combine the output buffer with an 18 dB per octave lowpass filter — all that is needed is three extra resistors and capacitors. If the turnover fre- quency of the filter is calculated to roughly coincide with the oscillator frequency, the result is further sup- pression of harmonics without incurring too great a voltage loss or significantly affecting the amplitude stability of the output signal. This latter point may C13.,C20210n require further explanation: see figure 5. If one assumes that the oscillator frequency can vary by a factor of +4 foge (the frequency stability is then A * fose x 100%), then the amplitude of fose the output signal of the lowpass filter can vary by + 4A; the result is that in addition to variations in amplitude caused by the oscillator itself, the amplitude of the sinewave generator output can be affected by variations in the output of the lowpass filter caused by frequency drift. Fortunately, in view of the extreme stability of the oscillator and the relatively gradual roll-off in the lowpass filter’s response at the 3 dB point, this effect is of little practical importance, The detailed circuit dia- gram of the spot sinewave generator is shown in figure 6. The clipping circuit is built round IC1, (which has a gain of 11) R3, and Tl and T2, which are connected as sym- metrical zener diodes, The trapezoidal voltage at the junction of R3 and R4 is attenuated by R4 and P1, and fed to the first selective filter consisting of IC2, 1C3, R5...R9, Cl and C2. The second bandpass filter (IC4, ICS, RIO... R14, C3, C4) is identical to the first; a more detailed discussion of these filters is contained in Appendix 1 at the end of the article. The frequency-determining components of the lowpass filter are R15, R16, R17, C3, C6 and C7, whilst IC6 is the associ- ated emitter follower, which also elektor february 1979 — 2-23 functions as output buffer. If desired, a symmetrical emitter follower (T3...T6 etc.) can be connected to the output of IC6, allowing the generator to be used with load impedances as low as 47 Q. If load impedances as low as this are not foreseen, the emitter follower com- ponents can be omitted, points A and B are linked together and outputs I and II can be used with impedances of 600 2 or greater. The frequency of the oscillator is determined by the choice of component values for Cl... C7: Cl=c2=¢3 scars See? fose Cimon cpeee ope es fosc fosc fose Capacitances are in nanofarads, the oscillator frequency is in kHz. Construction Figures 7 and 8 show the copper track pattern and component overlay respect- ively of the p.c.b. for the 47 Q version of the spot sinewave generator. Figure 9 shows the component layout for the version without the emitter follower output buffer (into 600 2 or above). As far as the choice of component values are concerned, the values given for R8, R9, R13 and R14 are nominally 33 k; possible alterations to these values are discussed in the following section describing the calibration procedure. The values of R6, R7, R11 and R12 2-24 — elektor february 1979 should be as closely matched as possible. The best procedure is to measure their resistance, but in practice it is sufficient to take four successive resistors from the ‘belt’ in which they are packaged. Although desirable, 1 or 2% metal-oxide types are not absolutely necessary. The values of Cl ...C7 are calculated from the equations listed above. Room has been provided on the p.c.b. to make up the correct values by connecting two capacitors in parallel. C1 ..,C4 should also be as closely matched as is possible, If there are discrepancies in the values of C1 ...C4 or R6, R7, R11 and R12, it may slightly affect the quality of the output signal. However this can be rectified during the calibration pro- cedure, which is described next. Calibration An oscilloscope is a prerequisite for correct calibration of the sinewave generator. After the usual checks the generator is connected to the oscillo- scope and the power switched on. The wiper of P1 should be turned fully towards R4, whereupon, hopefully, a sinewave signal should appear on the screen, If, however, nothing happens, then the circuit is failing to oscillate, a state of affairs which is almost certainly due to the fact that the centre fre- quencies of the two selective filters are too far apart, with the result that the loop gain at the resonant frequency is less than 1. The first thing to do, therefore is tune in the frequencies of these filters. Figure 10a shows the OO Py a oO spot sinewave generator response curves of a number of selective filters of differing centre frequency whilst figure 10b shows three different response curves obtained: (1) when two filters with the response of curve | in figure 10a are connected in cascade (i.e. both filters have the same centre fre- quency); (2) when the centre frequencies of the two filters are slightly offset, as is the case with curves 2 in figure 10a; (3) and when the centre frequencies of the two filters are fairly far apart (curves 3 in figure 10a). The Q and res- onant gain, A, of all the filters in figure 10a are identical. It is apparent that the greater the difference in the centre frequencies of the two filters, the smaller the gain at the resonant fre- quency (it may even fall to the point where the loop gain of the system is less than 1; see also Appendix 3), and also the less filtering of higher frequencies there is—i.e. less suppression of the higher harmonics. One should thus attempt to ensure that the centre frequencies of the two bandpass filters are as close as possible, at least enough to ensure that the oscillator starts. If, during the calibration procedure, the oscillator should initially refuse to start, the loop gain of the system should be temporarily increased by bridging R1 with a resister of a couple of hundred Ohms. As soon as the oscillator starts, the output signals of both bandpass filters should be displayed on the scope. The signals at pin 6 of IC2 and IC4 will almost certainly exhibit a considerable phase shift (if there was only a small shift the oscillator would have started first time), The extent of the phase shift is a measure of the difference between the centre frequencies of the selective filters. Thus the centre frequency of one or both filters should be adjusted until the two signals are as nearly as possible in phase; at the same time the amplitude of the sinewave at the output of IC4 should rise. The adjustments are realised by altering the value of one or more of re- sistors R8, R9, R13 and R14 (see Appen- dix 1). Each resistor can be varied be- tween 22 k and 68 k, Of course it is also possible to vary the value of other fre- quency-determining components (again see Appendix 1). Once the frequencies of the selective filters have been aligned as accurately as is possible, the resist- ance bridge across R1 can be removed. As described above, the more accurate tuning of the two filters will have the effect of increasing the resonant gain of the system; if as a result of this the output of one or both filters should start clipping, Pl should be adjusted until the loop gain is at a satisfactory level. The calibration procedure is then complete. In conclusion The spot sinewave generator requires a symmetrical stabilised supply of + 15 V. The current consumption per oscillator is a maximum of 50 mA for the 600 Q version and 150mA for the 47Q version, The quiescent current of the output stage of the latter should be set to 100 mA using P2. The lower the amplitude of the output, signal, the less harmonic distortion. Thus the size of spot sinewave generator the output signal can be adjusted as desired by means of P1. There are two conditions attached to using Pl as an amplitude control however: it should be set neither too high as to allow clipping to occur, nor too low as to cause the oscillator to stop. It is also possible to omit P1 altogether. R4 and R5 are then joined and between this junction and earth a resistance of suitable value is inserted. In nine out of ten cases the value of a simple carbon resistor will prove stabler than that obtained using a potentiometer; the above step can there- fore only improve the overall amplitude stability of the generator. If several oscillator frequencies are required, then, in order to keep the com- ponent count down it would be logical to use a 9-pole switch (for Cl ...C7 and P1) with however many ways as one requires different frequencies. Although this represents the most elegant solution, whether it is the cheapest is another question. Spot sinewave generators are of course most commonly used in AF applications, however the model described here can also be used for high frequency work, It was with an eye to this type of. appli- cation that the 50 {2 output was pro- vided. Unless one possesses a tunable two-tone generator, measuring the inter- modulation distortion of r.f. amplifiers can be a difficult business. The two-tone generator produces a pair of signals of. identical amplitude but differing fre- quency. If one feeds the output of the spot sinewave generator to a. double- balanced mixer (DBM) (see figure 11) one obtains two output signals whose frequencies differ by twice the fre- quency of the original input signal. Of particular interest are the uneven harmonic distortion components, since their frequencies lie in the region of the desired signals. The IM distortion of the two-tone generator itself must be less than —60 dB for reliable measurement purposes —a specification which the spot sinewave generator easily improves upon. Bibliography: 1. Spot frequency sinewave gener- ator; Elektor 27/28, July/August 1977. 2. Klein and Zaalberg van Zelst, A non-linear low output im- pedance AF oscillator with ex- tremely low distortion, Philips Technical Journal, 25.20.1963. Appendix 1. It can be shown that the centre frequency fy, the resonant gain, A, and the Q of the selective filter formed by IC2 and IC3 in figure 2 can be determined as follows: fo = 4 an\/ 8 . Ro RI C1 C2 RO elektor february 1979 — 2-25 Figures 7 and 8. Track pattern and component layout of the p.c.b, for the circuit of figure 6. (EPS 9948). Figure 9. Component layout for the version without the 47 2 output. Parts list: Resistors: R1=1k R2,R15,R16,R17 = 10k R3 = 2k2 R4= 22k R5,R10=1M R6,R7,R11,R12 = 18k Re! ,R9',R13',R14' = 33k R18? R22? = 8k2 R19? R21? = 6k8 R20? = 1k5 R23? R25’ = 3k9 R24? R26? = 22 2/%W P1 = 10k preset P2? = 1 k preset Capacitors: €1,C2,C3,C4,C5,C6, C7 = see text * C8=22p C9? C10? ,C13,C14,C15,C16,C17, C18,C19,C20 = 100n C11?,C12? = 22 w/16 V Semiconductors: 1T1,72,T4? = BC 1078, BC 547B or equivalent T3? = BC 177B, BC 557B or equivalent TS? = BD 139 Té? = BD 140 IC1 = LF 357 (National Semi- conductors or second sourced) 1€2,1C3,1C4,1C5,1C6 = LF 356 (National Semiconductors or second sourced) IC7 = TDA 1034 (Philips), NE 5534 (Signetics). Notes: 1. nominal value, see text. 2. these components are only used for the 50 © version (output II, wire link AB is omitted) |. Capacitors C1...C7 are formed by connecting two separate capacitors, a and b, in parallel to obtain the desired values. N.B. The component overlay shown in figure 9 is only valid for the standard (600 22) version of the circuit; the over- lay shown in figure 8 is correct for both the standard and extended (50 {2) ver- sions. If only the standard version is required, several components can be omitted (in particular, T3...T6 and P2). | 2-26 — elektor february 1979 ‘spot sinewave generator Amplitude | ‘Spectrum analyser Figures 10a and 10b. The effect of discrep- ancies between the centre frequencies of the two filters upon the combined amplitude response. Figure 11. How the spot sinewave generator can be used to measure the intermodulation If Cl =C2=C, R8=R9,R5=RQ and R6=R7=R, then: eiid = nO, 0 = saRC one R These equations are also true for the second filter (round IC4 and ICS). It is apparent from the expression for fg that (small) variations in centre frequencies of the two filters can be obtained by varying the value of one or more of resistors R8, R9, R13 and R14. 2. As far as the amplitude response of the selective filters used in this circuit is concerned, it can be shown that: n? 2 2 u : es Ope 3 Where uj is the uj? (n? - 1)? input voltage and ug the output voltage of the filter, and n = - If the Q of the filter is sufficiently high, the above expression can be simplified to: te. i” forn>1 Uj (n* -1)Q A symmetrical squarewave contains exclusively odd harmonics (this is in addition to the fundamental, which is 4x the amplitude of the squarewave), ie. n=3, 5, 7 etc. The amplitude of the n-th harmonic is ty the fundamental. The ampli- tude of the third harmonic of a symmetrical squarewave is therefore 33 1/3% that of the fundamental, the fifth harmonic is 20% of the fundamental, the seventh harmonic is approx. 14%. . . and so on. The Q of the filters shown in figure 2 is approx. 55. If the centre frequencies fg, and fo of the two filters are identical (and equal to the resonant frequency, fosc =< fo; * fo2), then a single filter will suppress the third harmonic by a factor of 146, the fifth harmonic by a factor of 264, and so on. With two filters connected in cascade, these factors should be squared, In actual fact the filters are fed not with a perfect squarewave, but with distortion of r.f. amplifiers. a trapezoidal waveform, whose har- monics are less pronounced than those of a squarewave. 3. It can be shown that, with two bandpass filters connected in cas- cade, which have resonant fre- quencies of fo; and fo,, respect- ively, but which have the same resonant gain and quality factor, Q, that, at the frequency / fp, * foo, where fo2 > fo,, the gain will fall 2 Lea x by a factor of 1+(Q where x = ras If, as a result of component toler- ances, fo; and fp, vary from one another by more than 10% (x © 1.05, x? = 1.1), and if Q= 55, then the gain of the two filters at the oscillator frequency will be reduced by a factor of 28.4. For this reason it is important that, as far as possible, one should attempt to match the components used in the two filters, clap-switch clap-swit Imagine you are sitting in your living room, enjoying the compa- ny of a few friends, when you notice that evening is approaching and the daylight is beginning to fade. Suddenly you clap your hands, and — hey presto— the light comes on! Not only have you spared yourself the trouble of leaving the comfort of your chair, but you have ‘dazzled’ the as- sembled guests with the magical powers of your electronic wiz- ardry. The following article describes how to achieve this impressive effect by building a simple ‘clap-activated switch’, which should cost not much more than £ 10. There are numerous interesting appli- cations for a switch which can be con- trolled simply by clapping one’s hands, however the problem with all such de- vices is that they are susceptible to spu- rious triggering. Most clap-switches are designed simply to detect a short, sharp sound signal. This signal is picked up by a microphone and fed to a trigger circuit which in turn provides a control pulse. This design suffers from the ob- vious drawback that any other sudden sharp noise will also activate the switch. The circuit described here, however, employs a different approach. In ad- dition to having a fairly large amplitude, the waveform produced by clapping one’s hands is characterised by a very short rise time, that is to say that the signal contains ultrasonic frequency components. By employing a switch which is sensitive to ultrasonic signals, the circuit is capable of a much higher degree of discrimination between auth-, entic and spurious commands. With the circuit described here, only sounds which have a considerable proportion of ultrasonic frequencies, such as, e.g., those produced by jangling a bunch of keys, will also trigger the switch. Design The basic design of the circuit is illus- trated by the block diagram of figure 1. The ultrasonic frequency components produced by clapping one’s hands are picked up by a suitable transducer. After being amplified and filtered they are fed to a monostable with a low trigger threshold. This provides a signal with a sufficiently fast rise time to in turn trigger a flip-flop. Since two flip-flops are contained in one 4013, a second flip-flop in the circuit affords the possibility of acti- vating the switch by two handclaps. This means that either one can ‘program’ the switch (two claps means, e.g. turn the light on) or else simply reduce even further the chance of spurious triggering, since any extraneous sound signal with a high ultrasonic content would have to be repeated for the switch to be activ- ated. elaktor february 1979 — 2-27 Circuit diagram The complete circuit diagram of the ultrasonic switch is shown in figure 2. Virtually any commonly available ultra- sonic transducer, including ultrasonic- ally-sensitive electret microphones, will prove suitable. The input amplifier is formed by a BCIO9C (T1), whilst C3, C4, R4 and R5 function as an active highpass filter. The 709 op-amp func- tions both as an amplifier and as a monostable. In principle a 741 could also be used, however this would signifi- cantly reduce the sensitivity of the circuit. The time constant of the monostable is approx. 70 ms. This allows MKM- or MKH capacitors to be used (1 ywF is the largest value available in this series) and, more importantly, is sufficiently long to ensure that the monostable cannot be triggered by reverberation signals. This point illustrates another advantage of the ultrasonic approach, since the rever- beration times of ultrasonic signals are much shorter than those in the audio spectrum, and hence will always lie inside the period of the monostable. Construction and setting-up As far as construction is concerned, a glance at the printed circuit board shown in figure 3 will show that the circuit can easily be mounted into most types of equipment that one might wish to switch on and off in this fashion. The current consumption is sufficiently low— approx. 20 mA — that the circuit can be powered by battery. If however a mains- derived supply is desired, then this need not be stabilised, and the simple circuit of figure 4 will do the trick. The supply should, however, be well-screened from the circuit, in order to prevent mains interference. Figure 5 illustrates how, with the aid of a relay, the A- or B-output of the circuit can be used to switch such elec- trical apparatus as room lighting, etc. Before the switch can be used, the input sensitivity of the circuit must first be set to a suitable level, This is carried out as follows: 2-28 — elektor february 1979 1 FF1,FF2 = IC2 = 4013 79026 2 parts list Resistors: Ri = 150k R2=1M R3 = 100 k R4,R5 = 220k R6,R7 = 18k R8 = 3M3 R9=1k Capacitors: C1,C6=10n C2 = 2u2/16'V C3=1n C4=120p C5 = 1 (MKM) Semiconductors: Ti = BC 109C, BC 549C. Ic1 = 709 I€2 = 4013 Miscellaneous: P1 = 1M preset potentiometer P2 = 2k5 preset potentiometer ultrasonic transducer (see text) clap-switch elektor february 1979 — 2-29 1. After the supply voltage is applied, the output of IC1 (pin 6) is set to logic ‘0’ with the aid of P2. 2. The wiper of Pi is turned fully towards R5, thereby adjusting the circuit for maximum sensitivity. 3, The sensitivity is gradually reduced until the point is reached where the circuit still responds to a handclap, but not to quieter noises. To do this the trigger threshold is increased by setting P2 to the position just be- yond that needed to take the output of IC1 high, and then adjusting P1 until the desired sensitivity is ob- tained. ‘Clapper’ For those readers who find their hands otherwise occupied too often for clap- ping, the circuit in figure 6 provides the answer. Comprising a single 4011 and an ultrasonic transducer, the circuit is basically a miniature ultrasonic trans- mitter, which, when started produces a $ ms signal burst to which the ‘clap- switch’ will respond. The ultrasonic N1L..N4=1C1=4011 79026 6 Figure 1. Block diagram of the ‘clap-activated switch’, Figure 2. Complete circuit diagram of the ultrasonic clap-switch. The cheap and readily available 709 op-amp used to form the monostable. Figure 3. Track pattern and component layout of the p.c.b. for the clap-switch (EPS 79026). Figure 4. A simple power supply circuit for the clap-switch, In order to counteract mains interference, the supply should be well-screen- ed using e.g. lengths of copper laminate board. The screening material should of course be securely connected to an earth point. Figure 5. This circuit shows how with the aid of a relay the clap-switch can be used to control ¢.g. a room light. Figure 6. Circuit diagram of an ultrasonic ‘clapper’ which can be used to control the clap-switch at distances of up to 15 metres. ‘clapper’ also has the advantage that it considerably increases the distance at which the switch can be actuated. In response to a simple handclap the range of the switch is approx. 5 to 6 metres; with the circuit of figure 6 however, (and assuming the device is pointed at the switch) this is extended to roughly 15 metres. The circuit (N3/N4) is a gated astable multivibrator which oscillates at a fre- quency of approx. 30 kHz when trig- gered by a monostable formed by NI/N2. As stated, each time the start button ($1) is depressed, a signal burst roughly 5 ms long is transmitted, In view of the very modest current consumption (approx. 100 mA) which means that it could be powered by several button cells connected in series, and the fact that it uses only a handful of components, the above circuit is ideally suited for miniaturisation. The frequency of the astable multi- vibrator can be adjusted by means of P1, and is best set by testing to see at which frequency the ultrasonic switch is most sensitive. 2-30 — elektor february 1979 FT) invitation to Teed oe improve on and Pec a imperfect but Tera ca ideas Squelch for FM stereo receiver The majority of FM receivers are pro- vided with some form of squelch circuit which suppresses the noise arising from mis-tuning. Such a circuit prevents the extremely intrusive ‘inter-station’ noise from breaking through into the audio signal. Most squelch circuits function on the principle of blocking the audio signal when a control signal derived from the IF amplifier falls below a certain level. However the strength of the received signal is not in itself an index of the quality of reception. It is perfectly possible that the reception can be quite poor in spite of a large signal being available, as is the case for example ejector indicator 003 5} 19 123 38 53 16.825 21375 te — (kt) 79057 -2 79087 - 3 ejector when multipath distortion occurs (the transmitted signal not only travels direct to the receiver, but also via multiple reflection paths). It is also possible that, e.g. two transmitters are broadcasting at the same frequency and the received signals are roughly equal in strength. Taken together these present a relatively large signal, however the actual quality of reception would of course be quite unsatisfactory. For this reason it is better if the control signal for the squelch is taken not from the IF ampli- fier, but rather is derived from the FM multiplex signal — which, in the final instance, is the signal which is really important, The spectrum of a typical FM multiplex signal (ie. the output of the demodu- lator before it has been fed to the stereo decoder) is shown in figure 2. The band of frequencies between 30 Hz and 15 kHz contains the mono audio signal (i.e. L+ R), whilst the stereo in- formation (L — R), which is modulated onto a 38 kHz subcarrier, straddles the two sidebands stretching from 23 kHz to 53 kHz. Detecting the presence of a transmitter signal in these frequency bands is not as straightforward as one might assume; there is no simple way of distinguishing between a coherent modulated trans- mission signal and plain noise. Another possibility which presents itself is to use the frequency band above 53 kHz to determine whether the receiver is correctly tuned, since that portion of the spectrum is in theory ‘empty’. In practice however, it is less than suitable, since there are in fact all sorts of inter- ference signals present from transmitters operating on adjacent wavelengths. A more promising idea is to use the area around the 19 kHz pilot tone. In most squelch circuits which detect and amplify a noise signal the attempt is made to ensure that the noise amplifier is sufficiently selective that it does not detect the 19 kHz pilot tone. However there is no reason why the noise ampli- fier should not be tuned to exactly 19 kHz — especially since the band of frequencies around this point is delib- erately protected from interference lest the operation of the stereo decoder be adversely affected. The presence of the pilot tone itself could interfere with the detection of the noise signal, however in contrast to the latter it is constant, and its influence can be counteracted by rectifying the narrow band of frequencies around 19 kHz and slightly smoothing the latter so that any pilot tone present would be converted to a DC voltage. Assuming that the smoothing of the rectified signal is not particularly drastic, any noise component in the signal will still be detectable: even if rectified, noise is still noise. Figure 3 shows a block diagram of a squelch circuit based on the approach outlined above. The filtered 19 kHz signal is rectified in a peak detector. The 19 kHz pilot tone, should it be present, appears as a DC component at the de- tector output and has no further influ- ence on the operation of the circuit. The noise signal components below say, 1 kHz, are rectified in detector 2 and fed to a comparator, so that when they exceed a certain level, the squelch circuit cuts in. What to do with the squelch signal? The amount of noise in the multiplex signal can not only be used to determine when the audio signal is suppressed, but also when it is desirable to switch from stereo to mono. It is often the case that quite acceptable mono reception can still be achieved when the stereo recep- tion is extremely poor. The difference in signal-to-noise ratio between mono and stereo is approx. 22 dB, and so switching from stereo to mono will often be a more drastic step than is actually required. A small number of receivers are provided with a ‘half-way house’, ie. the receiver is switched to stereo reception, but above approx. 3 kHz a certain amount of crosstalk is introduced between the two channels. Thus a stereo image is ob- tained, without the worst of the stereo noise. By using a control voltage to regulate the amount of crosstalk between channels it is possible to ensure that the signal-to-noise ratio never falls below a certain value as a result of this techni- que. One possible solution is shown in figure 4. The amount of L-channel signal introduced via capacitor C into the R-channel is determined by the duty cycle of the signal controlling the analogue switch S. To prevent interference products the switching signal should be synchronised to either the 76 kHz subcarrier or a harmonic of the latter. In PLL decoders there is generally a suitable waveform directly available. An indication of the mode in which the receiver is function- ing (from pure mono to full stereo) can be obtained by using a two-colour LED with anti-parallel diodes, as is shown in the figure. To ensure that it does not produce any unwanted ‘plops’ or ‘clicks’, a good squelch circuit should switch at the zero-crossing point of the input signal. One method of realising this is shown in the circuit of figure 5. The compara- tors change state at the zero-crossing points of each channel. Only when a positive-going signal crosses zero simul- taneously in both channels will the flip-flop be triggered and the squelch turned on. missing link elektor february 1979 — 2-31 Modifications to Additions to Improvements on Corrections in Circuits published in Elektor Temperature controlled soldering iron. Elektor 41 September 1978, page 9-42. The value for P2 is incorrect in the parts list, it should be a 100 9 linear poten- tiometer. Cackling egg timer. Elektor 43, November 1978, page 11-02. The value of R1 and Cl are incortect in the parts list, the correct values are; Rl = 2M2, Cl = 100 nF. ‘Consonant Elektor 39/40, July/August 1978, p. 7-38. A few readers have ex- perienced problems with exess- ively high hiss levels. In some cases, the S/N ratio can be im- proved by shorting out R27 and R27’ (replacing these resistors by wite links), However, in most cases it has been found that the Consonant meets its specifications, but that correct level-matching with the power amplifier is the teal problem. This is dealt with elsewhere in this issue. Excessive hum is normally due to earth loops, and this, too, merits a separate article. One particular point should, however be noted: the controls on the Consonant board are connected to supply common. If metal parts of these controls make contact with the metal front panel, earth loops may occur, Some readers would prefer more ‘effective’ bass control. This is, of course, a question of personal taste... If this is required, C12, C12’, C13 and C13’ can be : reduced to 15 n; the higher turn- over frequency will then be shifted from 300 Hz to approxi- mately 750 Hz. Similarly, reduc- ing the values of C14 and C14’ to 18 n will then shift the lower turn-over frequency up to ap- proximately 300 Hz. 2-32 — elektor february 1979 using elbug It is almost a year since the article on Elbug, the monitor software program for the Elektor SC/MP uP system was published. The original article concentrated ona description of the various control functions which Elbug provided, and did not examine how the program actually worked. Prompted partly by the many requests from readers, the following article takes a more detailed look at Elbug, describing how some of the more important subroutines function, and how these routines can profitably be incorporated into one’s own programs. (H. Huschitt) Figure 1. This figure illustrates the functions assigned to the various locations in Elbug’s software stack. Programming techniques Writing programs for microcomputers is not difficult, providing one adopts the approach of breaking the program down into a number of smaller units which can be tackled individually. Just as a complex electronic circuit is built up from a number of separate components, so any large program is composed of a number of smaller routines and subrou- tines. This is also true of Elbug, which contains e.g. a display routine, which ensures that the hexadecimal represen- tation of a data byte appears on the displays, a keyboard routine, which ensures that the correct code is generated when a particular key is depressed, and so on. Subroutines are implemented by jumping from the main program to the start address of the routine in question. At the end of the routine the micro- processor resumes main program ¢€xX- ecution by jumping back to the address of the main program instruction which follows the subroutine call. In higher programming languages, such as, e.g. BASIC, there are special instruc- tions, GOSUB (go to subroutine) and RETURN (return from subroutine), for these tasks. Certain microprocessors are also provided with similar instructions, however this is not the case with the SC/MP. The instruction which the SC/MP employs to initiate a subroutine is XPPC (Exchange Pointer with Program Counter). By loading the address of the subroutine in whichever pointer is specified, the above instruc- tion will effect a jump to that routine, since the address in question is loaded into the program counter. The SC/MP has of course three 16-bit pointer registers in addition to the DELAY: LDI 08 ST COUNT LOOP: DLY X'FF DLD COUNT JNZ LOOP XPPC 3 JMP DELAY COUNT: * BYTE using elbug program counter. Each of these pointers may be used as page pointers, stack pointers or subroutine pointers, how- ever PTR 3 is unique in that, when the SC/MP senses an interrupt request (the enable interrupt line — Sense bit A in the Status Register — goes high) the SC/MP automatically executes an XPPC-3 in- struction. Thus, after a valid interrupt, the next instruction executed will be that contained in the address held in PTR 3 (incremented by one). At the end of the interrupt routine the jump back to the main program is similarly effected by means of an XPPC-3 in- struction. As a result of this interrupt facility, PTR3 is conventionally as- signed as the subroutine pointer. How- ever, it is of course perfectly feasible to use the other two pointer registers to call subroutines from within the main program. To implement a subroutine call, the subroutine pointer is actually loaded with the start address of the routine minus one. The reason for this is that the SC/MP increments. the contents of the program counter before it fetches the next instruction. Thus: LDI L(SUBR)-1 XPAL n LDI H(SUBR) XPAH n Since the address contained in the subroutine pointer must be incremented in order to obtain the true start address of the subroutine, it is important that this operation does not require a carry from bit 11 to bit 12 of the address since the SC/MP will not perform such a carry. Thus, for example, if the start address of the subroutine is FOQQ, normally the address loaded into the ; load counter with 8 ; @xecute delay instruction 8 times ; jump back to main program ; jump to start ; RAM byte as counter using elbug STACK STAKPT, lower STAKPT, higher ROUTAD, lower ROUTAD, higher STFULL STDEEP STKEFF Ac PTR, lower PTR, higher SPEED LDKB GETHEX PUTHEX Counter Key, binary Key-Code 7-Segm-Code STKBSE AC E SR PTRIL PTR 1H PTR2L PTR 2H PTRSL PTR 3H ROUTAD L ROUTAD H AC E SR PTRIL PTR1H PTR2L PTR2H PTR3L PTR3H ROUTAD L ROUTAD H AC half Keys Bytes binary Byte, higher Byte, lower Counter ADR, higher ADR, lower DATA STATUS 1 STATUS 2 STATUS 3 etc pointer would be FQQ9-1 = EFFF. However in this instance the address thereby obtained would be incorrect, since, as stated, there can be no carry from bit 11 to bit 12 and the four highest address bits would remain unaltered (i.e, ‘E’), The correct address to enter into the pointer is therefore FFFF. Whilst the subroutine is being executed, PTR 3 will contain the address of the last instruction executed in the main program, ie. the return address —1, assuming of course that the contents of the PTR are not altered by the subrou- tine. Thus an XPPC-3 instruction at the end of the subroutine will effect a return to main program execution. However, the address now held by PTR 3 will be that of the last instruc- tion in the subroutine, which means that a subsequent XPPC-3 instruction would effect a jump to the end of the subroutine and not the start. For this reason the final instruction of almost every subroutine will be a jump back to elektor february 1979 — 2-33 the start of the routine. A practical example of the above- described techniques is the delay routine listed in table 1. This routine can be used in the course of main program execution in order to avoid filling a large portion of program memory with delay instructions. If the delay routine is used repetitively, the subroutine call will be structured as follows: is 3* (DELAY); load PTR 3 and make first jump to _ delay . routine ; second jump to delay routine XPPC 3 ; third jump to delay routine Unfortunately, the process is not quite as simple as might first appear. The contents of the accumulator are altered by the subroutine. Thus if the contents of the AC prior to the jump to delay routine are required later in the main program, they must first be stored somewhere. As long as it is simply the contents of the AC which must be preserved, this does not present any special problems, since they can easily be stored in the extension register. Unfortunately, however, the situation becomes slightly more complicated if the contents of the pointers themselves are altered in the course of a subroutine, since the return addresses to the main program will then be lost. Thus it is necessary to store the return addresses at the beginning of the sub- routine, and then re-enter these into the pointers at the end of the routine, so that an XPPC instruction will effect a return to the main program. From a programming point of view it is extremely useful to be able to jump from the middle of one subroutine to a second subroutine, i.e. to ‘nest’ routines inside one another like chinese boxes. However for each jump that is made a return address must be stored, so that it must be possible to ‘stack up’ the return addresses somewhere in memory in order that they can be retrieved as required. Some microprocessors are provided with an integral on-chip stack, capable of storing up to 12 or 16 return addresses. This is not the case with the SC/MP, however, so that it is necessary to employ a ‘software stack’. Software lifo stack A software stack is basically a routine which simulates the function of a stack “JS 3 is a symbol for a ‘pseudo instruction’, ie. a statement which results in the gener- ation of several machine-language instructions — in this case the loading of PTR3 and exchanging the contents of PC and PTR 3. 2-34 — elektor february 1979 register, by employing a section of read/ write memory as a scratch-pad store for the data to be saved. The advantage of a software stack is that there need be virtually no limit to its depth, i. the number of return addresses it is capable of storing. In addition there is the possibility of storing the contents of other important registers, such as the AC or extension register, in the stack. The software stack of Elbug utilises the section of RAM between @FC9 and FFF. This section was chosen since it can easily be ad- dressed via the program counter from the beginning of that page of memory (i.e, from $999). In addition to return addresses the contents of all the CPU registers, with the exception of the PC, are stored on Elbug stack. In order to store the status of all of the CPU registers 11 bytes of RAM are required. Figure 1 indicates which locations are reserved for this purpose. As can be seen, the stack contains sufficient space to store the status of each CPU register twice. Since Elbug only nests to a level of one subroutine (i.e. one subroutine called by another) this is sufficient. However a particular user’s program may require several subroutines to be nested, in which case the stack can be extended downwards from 9FC9 as far as is desired. The stack is organised on a ‘last-in-first- out’ (lifo) basis, and employs a ‘stack pointer’ — usually PTR 2 — to point to the last value pushed onto the stack. A ‘stack routine’ is required to write the contents of the CPU registers into the stack, and in order to ensure that the stack pointer can be used during a subroutine and the stack address still be preserved, the status of the stack pointer (STAKPT) is itself stored in locations 9FFF and QFFE at the top of the stack (see figure 1). When Elbug is started, the address OFEQ is written into these locations; this location represents the ‘base’ of the stack. The section of stack from Q@FFF to QFEQ@ is fixed, however below this point the stack can be expanded or contracted as required. In a user’s program which contains a large number of nested interrupts, there exists the danger of the dynamic portion of the stack being extended downwards to the point where it overlaps a user’s program stored from (CQ@ onwards. In order to prevent such an eventuality, a stack counter (STKEFF) is maintained, which is incremented or decremented each time a byte is pushed onto or pulled off the stack. In addition, a byte of RAM is reserved which, via the MODIFY routine or the user’s program, can be used to specify the number of bytes of status information which may be stored on the stack. This byte, which effectively determines the depth of the stack, is stored in location 9FFA (STDEEP) — see figure 1. This byte is compared with the contents of the stack counter each time a stack operation is performed, and when the effective stack depth (STEFF) equals Table 2. using elbug Elbug STACK routines 0000 0001 0003 0005 0007 0009 0008 900D OOOF 0011 0013 0015 0017 0018 QdiA 0018 001D OO1F 0021 0023 6025 0026 028 0029 002B 002c @02E 002F 0031 0033 0035 0037 0039 003A 003C 03D 003F 0041 0043 0044 0046 0048 0049 0048 0040 O04F 0050 052 0054 0056 0058 005A @05B 05D OOSF 0060 0062 0064 0065 0700 OFFF @FFD OFFB OFFA OFFS GFF8 OFF? QFF5 OFEO 0000 08 C415, C8F1 C4EO Cc8F2 DISPL = 0700 STAKPT = QFFF ROUTAD= OFFD STFULL =@FFB STDEEP =@FFA STKEFF =@FF9 AC = OFFS PTR = OFF? SPEED =QFF5 STKBSE = OFEQ . = 0000 STACK: NOP LDI x15 ST SPEED LDI L (STKBSE) ST STAKPT LDI H (STKBSE) ST STAKPT-1 LDI 00 ST STKEFF ST STFULL JMP $1 PULL: LD STAKPT XPAL 1 LD STAKPT-1 XPAH 1 LD @1 (1) ST ROUTAD-1 LD @1 (1) ST ROUTAD LD @1 (1) XPAH 3 LD @1 (1) XPAL3 LD @1 (1) XPAH 2 LD @1 (1) XPAL 2 LD @1 (1) ST PTR-1 LD @1 (1) ST PTR LD @1 (1) CAS LD @1 (1) XAE LD @1 (1) STAC LD PTR-1 XPAH 1 ST STAKPT-1 LDPTR XPAL 1 ST STAKPT DLD STKEFF LD AC XPPC 3 JMP PUSH $1: JMP START $2: JMP PULL PUSH: ST AC LD STAKPT XPAL 3 ST PTR LD STAKPT-1 XPAH 3 ST PTR-1 LDI L (STAKPT) XPAL 1 ST @4 (3) EA of display 2 bytes for current contents of stack ptr 2-byte address of subroutine ‘stack-full’ flag 1 byte to set stack depth current stack depth scratch-pad for (ac) scratch-pad for (ptr) speed of cassette routine stack base ; Set cassette speed ‘0 600 bits/sec set stack ptr to } stack base } Set stack counter to @ } stack-full byte = 0 ; jump to ‘elbug’ } pull status off stack ; load ptr 1 with current ; contents of stack ptr load routine-address from stack into ‘routad’ load ptr 3 from stack load ptr 2 from stack load (ptr 1) from stack into scratch-pad ; load s-register from stack ; load e-register fram stack 3 load (ac) from stack into scratch-pad ; store current contents of stack Ptr in ‘stakpt’ and load ptr 1 from scratch-pad update stack counter load ac from scratch-pad return ‘jump-assist’ ditto Push status onto stack store (ac) in scratch-pad store (ptr 3) in scratch-pad and load ptr 3 as stack pointer push (ptr 1) onto stack and ; load ptr 1 as ram pointer using elbug Table 2, continued. 0067 C40F LDIh (STAKPT) 0069 «35 XPAH 1 006A CFFF ST @-1 (3) osc G1 XAE 06D CBO3 ST 3(3) O06F 06 CSA 0070 CBd2 ST 2 (3) 0072 «CIF9 ~~ LD-7 (1) 0074 «CBO4 = ST 4 (3) 0076 32 XPAL 2 0077. «CFFF sT @-1(3) 0079 «36 XPAH 2 Q@O7A CFFF ST @-1 (3) @o7C CIF8 LD8(1) QO7E CFFF ST@-1 (3) 0080 « 90 dB’. So what’s wrong? Several readers are using the Consonant in combination with the Elektornado, and the latter is fully driven with ap- proximately 900 mV RMS. The Conson- ant can deliver up to 3.5 V RMS — four times the required level, or 12 dB ‘overdrive’. Effectively, since the output noise level of the Consonant is almost constant (independent of output level or setting of the volume control), the S/N ratio is then 12 dB worse than it could be! This type of level mismatching is usually apparent from the ‘normal’ setting of the volume control. If, in normal use, the volume control is never set above the half-way mark, some 20 dB in S/N ratio are being wasted! In the Consonant circuit, this test is complicated slightly by the input level presets (P1 and P2). These should be set to the highest level consistent with good level matching between the three inputs. In other words, the lowest input signal elektor february 1979 — 2-39 level is taken as a reference (usually the disc input) and the other two inputs are turned down, by means of the corre- sponding presets, to attain the same level. Turning the presets down any further leads to poorer S/N perform- ance. In this type of situation, one obvious solution is to include an attenuator between the output of the preamp and the power amplifier. A 10 dB attenuator is shown in the accompanying circuit; reducing R2 to 82092 gives 20 dB attenuation. A similar solution is often useful when matching sensitive head- phones to a _ headphone _ output, although in that case lower resistance values should be used (e.g. 680 22 and 330 Q). An alternative solution is to reduce the gain of the power amplifier. For the Elektornado, this can be achieved by increasing the value of RI (and R1’) to 18k; in that case, however, C4, C4’, C7 and C7’ should also be increased to 18 p. ormant an invitation to our readers A demonstration model of the Formant housed in a transparent modular (Zeissler system). frame Almost a year ago in the April 78 issue of Elektor, the tenth and final instalment in the series on the Formant music synthesiser was published. Since then there have been two additional articles — one for a 24 dB VCF, the other describing a resonance filter module (see Elektor no.s 41 and 42) — which rounded off the design of the basic system. In the interim period many readers have gone ahead and completed construction of the Formant; thus it now seems a good time to take stock of the project and to examine the possibilities of future contributions on this theme. As far as the reaction of readers to the Formant series is concerned, there is no doubt that this has been extremely favourable, and that the basic design concept of a modular system has proven amply justified. Despite their complexity and scale, a virtually 100% reproduc- ibility in the performance of the cir- cuits has been achieved in practice — which says a lot for the quality of the original designs. The question is, where do we go from here? Judging from the large number of letters we receive on the subject, there is considerable interest in further extensions to the Formant and in syn- thesiser circuits in general. Indeed many readers have taken the initiative in this respect and developed their own circuits for use with the Formant. In view of this fact, we would like to take this opportunity of inviting Formant-fans to share their experience/expertise with other enthusiasts. Any reader who has designed an interesting add-on circuit or module, who has made a useful modification to the system or thought of a novel application for the Formant, is invited to submit his idea(s) for possible publication. If a sufficient number of suitable contributions were received, they could be collected together and published as a special issue or in book-form. Such a collection of new circuits, tips etc. would not only prove of great interest to all Formant users, but might also help to further the progress of non-commercial syn- thesiser technology. It goes without saying that a suitable fee will be paid for all contributions which are pub- lished. KK

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy