Professional Documents
Culture Documents
75
IN
NICTS
411111.
DATA ISSUE
DEDICATED DEVICES
SPECIAL PURPOSE ICs FOR:
MUSIC
COMPUTERS
DOMESTIC
AUDIC
TIMING
RADIO
air
et4 0.4
-414. Zito
4`090,
sm6 tod"s0.
0 0,
te o-04
fvois
FAIRCHILD
A SchluMberger COMpAr,y luAV22
1200 bps Full Duplex Modem
Description Connection Diagram
The pAV22 1200 bps full duplex modes I.C. is fabricated 28 -Lead Dip
in Fairchild's advanced Double -Poly Silicon -Gate CMOS (Top View)
process. The monolithic I.C. performs all the signal pro-
cessing functions required of a CCITT V.22, alternative B
compatible modem. Handshaking protocols, dialing control SLIM V00
and mode control functions can be handled by a general
LIM Vss
purpose, single chip µC. The µAV22, µC and several com-
ponents to perform the telephone line interface and con- R X IN 3 AGND
and notch filters and DTMF tone generator are on -chip. TED 10 TEST
Switched -capacitor filters provide channel isolation, spectral X712 11 DOND
shaping and fixed compromise equalization. A novel
XTL 1 12 NSK2
switched -capacitor modulator and a digital coherent de-
modulator provide 1200 DPSK operation. SCR 13 NSA 1
RED 14 RLST
The receive filter and energy detector may be configured
for call progress tone detection (dialtone, busy, ringback,
voice) providing the front end for a smart dialer.
Order Information
Functions as a CCITT V.22 -compatible modem Device Code Package Code Package Description
Interfaces to Single Chip pC Which Handles
µAV22DC FM Ceramic DIP
Handshaking Protocols and Mode Control Functions µAV22PC * Molded DIP
DTMF Tone Generation and Call Progress Tone I.LAV220C Molded Surface Mount
Detection for Smart Dialer Applications
1300 Hz Calling Tone Generator On Chip *Consult Factory
Pin and function compatible with the pA212A
On Chip Oscillator Uses 3.6864 MHz Crystal
Few External Components Required
Operates from +5 and -5 Volt Supplies
Low Operating Power: 35 mW Typical
550 Hz and 1200 Hz guard tones and notch filters
are on -chip
BLOCK DIAGRAM
RF INPUT
1 13 12
CORRE.
LATOR
2.75 1.4V
105 10K
700K
HA.
I 700K
W1/ IF FILTER
125
AP 41 AP
IF LIMITER
4.75 4.75
DEMODULATOR
2.25 2.2K
11311K
MIXER
141/11104,11 .1
VCO
-7
NOISE
SOURCE
V cc
i1
Co
I
I
)14
Cs CS
vcc 0
.4 eV)
AF OUTPUT
DC ELECTRICAL CHARACTERISTICS vcc = 4.5V; TA = 25°C: measured in Figure 3; unless otherwise specifiec
TDA7000
SYMBOL AND PARAMETER TEST CONDITION UNIT
MIn Typ Max
AC ELECTRICAL CHARACTERISTICS vcc = 4.5 V; TA = 25C; measured in Figure 3 (mute switch open, enabled); Id - 96
MHz (tuned to max. signal at 5 0./ emi.f.) modulated with cif ±22.5 kHz; f, 1 kHz;
EMF - 0.2 mV (e.m.f. voltage at a source impedance of 75 0); r.m.s. noise voltage
measured unweighted (f - 300 Hz to 20 kHz); unless otherwise specified.
TDA7000
SYMBOL AND PARAMETER TEST CONDITION UNIT
Min Typ Max
EMF Signal handling (e.m.f. voltage) THD < 10%; of i s 75 kHz 200 mV
S.= 45
Selectivity dB
35
B Audio bandwidth
AVo -3 dB
10 kHz
measured with pre -emphasis (t 50 jas)
Vec - 4 5V 22
Rj. Load resistance k0
Vez .. 9 OV 47
NOTES:
1. The muting system can be disabled by feeding a current of about 20 MA into pin 1.
2. The interstation noise level can be decreased by choosing a law -value capacitor at pin 3. Silent tuning can be achieved by omitting this capacitor.
1.5
it
0.5
0
-so SO 100 150
TWO
S N
0
2
-8 20
40 10
TOD
NO SE
so
10-5 10 S 10-4 10-3 10-3 10-1
EllAF (V) at Rs 75 0
Figure 2. AF output voltage (V0) and total harmonic distortion (THD) as a function of
the e.m.f. Input voltage (EN F) with a source Impedance (Rs) of 75 0: (1) muting
system enabled; (2) muting system disabled.
NOTES
1 The muting system can be disabled by feeding a current of about 2OptA into pin 1
2 The interstation noise levell zan be decreased by choosing a Icw-value capacitor at pin 3 Silent tuning can be achieved by omitting this capacitor
fa EMF
220pF 150pF
75
Is 17 16 IS 14 13 12 10
CORRE.
LATOR
2.7K
1.4V
10K 10K
700K 7 700K
IF FILTER
AP 12K
IF LIMITER
4.7K # 4.7K
DEMODULATOR
2.2K 2.2K
13 OK
MIXER
VCO
Vcc
NO SE
SOURCE
Vcc 5 7
LI 55 nH 3.3nF
10K
-- 150
nF
iR 11.5nF -- 22nF -10nF Co
22K 1
ENABLED 60
= 1:184F
Cv Cs
Vcc 0
MUTE SWITCH
AF OUTPUT
cations, e.g., floppy disc drive systems and data cartridge MOTOR STALL TIMER
DRIVE IN
drive systems. The device is constructed using the
Fairchild Planar Epitaxial process. -MOTOR WC
DRIVE IN
Precision Performance
High Current Performance
Wide Range Tachometer Input Order Information
Device Code Package Code Package Description
Thermal Shutdown, Over Voltage And Stall
Protection pA7392DV 64 Ceramic DIP
Internal Regulator ).1A7392PV 94 Molded DP
Wide Supply Voltage Range 6.3 V To 16 V
Block Diagram
SUPPLY
VOLTAGE
PULSE TIMING
OUTPUT
I MOTOR
DRIVER
INPUTS
SPEED
ADJUST
CLAMPING
DIODE
TACHOMETER
INPUTS A 111 os2K
MOTOR
DRIVE
OU-PUTS
PULSE
GENERATOR COMPARATOR
FREQUENCY TO
VOLTAGE CONVERTER MOTOR DRIVE
SECTION SECTION
EMITTER
'EMITTER
THERMAL
V SENSOR
REGULATOR
OUTPUT OVER
VOLTAGE VOLTAGE
REGULATOR SENSOR
PROTECTIVE
CIRCUITS
STALL TIMING
VOLTAGE REGULATOR THRESHOLD
SECTION AND LATCH
STALL TIMER
µA7392
Electrical Characteristics TA = 25°C, V+ = 14.5 V, unless otherwise specified.
Symbol Characteristic Condition Min Typ Max Unit
Voltage Regulator Section (Test Circuit 1)
Icc Supply Current Excluding Current into Lead 11 7.5 10 mA
VR" Regulator Output Voltage 4.5 5.0 5.5 V
Note*
1 Frequency -to -voltage conversoon, supply voltage stability is defined Is.
VR(16 V) VFy(10 V) VF(14.5 V)
x 100%
V.(16 V) V.(10 V) V.(14 5 V)
2 VFii is the integrated DC output voltage from the pulse generator
(Lead 7)
3. Frequency -to -voltage convensron temperature stability is defined as
VFy(85°C) VFy(-40°C) VFv(25°C)
x 100%
Ve(85°C) Ve(-40°C) Ve125°C)
4 Motor Drive ClfiClairy ,s disabled when these limits are exceeded. If the
condibon continues for the durabon set by the external stall toner
components, the circuit is latched off until reset by temporanly opelinq
the power supply input line
5 If stall toner protection is not required. lead 14 should be grounder
S 12 a0$
S 1D
U
0
0.4
g"
g11
22Zi
"
17
-10 -25 0 as 50
JUNCTION TEMPERATURE -
75 ISO 125 150
26
12
2.0
-50
\\N\-25 0 25 SO
Jam.C75014 TEINERATURE -
75 100 125 150
I 63
6.2
Cl
0
so -25 0 25 SO 75
JUNCTION TEMPERATURE -
IN 125 1St
.1.1111, PC31113..
16
2
r'
oo
4 S 52 54 20 24 't) 4 0 12 III 20 24
4.6
-r -M 0 M 50 70 100 in
SUPPLY 000TAGE - v SUPPLY VOLTAGE - V JUNCTION TEMPERATURE -
10311:1,01, Nam"
Tachometer Input Hysteresis vs Flyback Diode Current (D3) vs Motor Drive Output ON Current vs
Junction Temperature Flyback Diode Voltage Motor Drive Output ON Voltage
SOO 1106
V. 14-11 V
V. 14.5J 1 V.. 541 J
700
l',5 TA WIC
1 MN T, TA arc
MO
1""
u roe
V 100 r g
i
S
0 444 1100
8 NI
5 sm 12
t MO
i 'lc
; NM
0 0
-36 0 NI 60 76 100 in ISO
0 0
1.34
10
1.32 SO 10 0 TO 16 V
103 150
5.30
-50 -26 60 100 is)
0 26
AmoieNT TEMPERATURE - C
75 120
Ts
TG
100 ILO
TYPI0.01 000.111060nt velum
1
4 R Pf Iw TACHOMETER
V(I NOMINAL
C7 10 C P IP 1000 Co rorono on TACHOMETER
systol requweenonts FREQUENCY)
2 0 $1511 0u1 -out
Cs Rs
50
9
Electronics Digest Summer 1987
M112
Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is
a stress rating only and functional operation of the device at these or any other conditions above those indicated in
the operational sections of this' specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect device reliability.
All voltages are with respect to V55.
06 II 30 CMV 'CAPACITORS
ADP CONTROL -VT is FOR ENVELOPE
2 CMS
V00 3 28 Cu,
FLLI 271CM1
8082 IS 2 CNI
F021 16 25 3K4A.ANALDG RELEASE
FOOTADES 'HIE
OUTPUT
17 24 34,5,8 Ac.,
FH1E 23 VSUSTAINfrONTROL
FLE 19 22 )PERC 02
FL 20 2, )Cllr -MONOPHONIC OuT
5.160
ADSR
CHANNEL I
OC TA VE Bun
KA OHMS
Rf =."; MR
REG I -II
SIAM - SOUND
CHANNEL 7
CRAPPML
WO CONTROL AT
OK. 'AL
REG CONTROLS FCRI
ONWARDS ENVELOPES .ksuo.
CONTROL
AND MAC 612
DRAWBARS al.1.011M
Vitt.%
rryA
RtstI
INPUT SIGNALS
VIH Input High Voltage Pins 3, 6 toll 2.4 VDD V
All other inputs 6 VDD V
VIL Input Low Voltage Pins 3, 6 to 11 -0.3 0.8 V
All other inputs -0.3 1 V
VSA Analog Ground R< Ion C= 100µF 0 0 1 V
VT ADR Control Time R = 1K C = 1µF 0 VDD V
VAR Analog Release R = 10K C = 0.1µ 0 VDD V
Vreg Control OFF Asymptote R < 10f1 C = 100p 0 0 1 V
Notes: 1. Refers only to FL, FM1, FM2 (pins 20, 15, 14).
2. Refers only to octave outputs with drawbar max.
CLOCK
fl Input Clock Frequency 250 2000 24 2.300 kHz
tr, tf Rise and Fall Times 10% to 90% 30 ns
ton, tort ON and OFF Times 150 ns
RESET
tw Pulse Width Clock = 2 MHz 10 me
ti Fall Time 30 ns
OUTPUT SIGNALS
ton, toff Outptu duty cycle 50
GENERAL DESCRIPTION
The M112 contains a microprocessor interface, eight programmable sound generator channels, a top
octave synthesiser, a divider chain and control circuitry, (see fig. 1). Each generator consists of logic to
select the desired notes and harmonics from 96 frequencies obtained by division, an ADSR envelope
generator and two voltage -controlled amplifiers. Programmable attenuators are included for drawbar
control of the harmonic content of the sound.
To simplify system design the signals generated in each channel are directed to octave separated outputs
and footage outputs. Two voltage -controlled amplifiers are provided for each channel to keep the octave
and footage outputs separate.
The attack time, decay time, release time and sustain level are set for all eight channels by common
controls. Tone selection, the attack, decay, release parameters, drawbars and special effects are all soft-
ware controlled.
In a typical configuration (fig. 2), one or more M112s are connected to a microprocessor which scans
the keyboard and front panel controls in a matrix arrangement. When the microprocessor detects a key
depression chooses one of the sound generators and allocates it to that note. If another key is pressed
the microprocessor allocates another sound generator and so on. This process can be repeated until there
are no more free channels, i.e. when 8N keys are pressed simultaneously where N is the number of
M112s used.
When one of the keys is released the microprocessor resets a control bit in the appropriate generator
channel which will then be re -allocated to another key when needed.
Fig. 2
KE,OO.00S Dl ,o 126
M112
M112
OUTPUTS
The M112 has 15 music output pins. Seven of these are octave outputs, seven are footage outputs and
the last is a monophonic output from channel ore. This standard configuration can be changed under
program control.
The octave outputs, which are enveloped, are so called because there is one output for each octave, i.e.
output signals from all eight channels that fall within the same octave are routed to the same output.
These outputs are provided to simplify the generation of sinewaves from the squarewaves generated by
the M112s digital circuitry. Since each of these outputs handles a limited range of frequencies - exactly
one octave - a simple low pass or bandpass filter will do the job. The blend of harmonics sent to the
octave outputs is controlled by the drawbar attenuators.
The footage outputs are related to the five footages generated by the M112. These are referred to as L,
Ml, M2, H1 and H2 = Low, M = mid, H = high) and can be programmed to give the three different
ranges given in table 1, adding a constant K (number of half tones) to the keyboard information.
All five footages can be obtained from these outputs but only four are mixed by the drawbar circuitry
and routed to the octave outputs.
Octave outputs
Footags
L M1 M2 H1 H2
K
Fig. 3 - Example of octave related output "EVEN" and "ODD" with Percussion input.
124
M112 °I sh 32 -123 Hz
02 130-246 Hz
(WOW 21
03 261-493 Hz
04 hr 923 -9117Hz
Perc (4') OS 1046-197511z
06 7093 -396111z
07 o 4166- 7902Hz
In no case will the maximum frequency be higher than 7902 Hz (with a 2 MHz clock).
The output configuration for the octave and footage outputs can be changed under program control as
mentioned above. There are three options, including the standard configuration, and these are:
Option 1, the normal configuration gives four enveloped footage outputs, LE, M1E, M2E, H1E, and
three non -enveloped outputs, L, M1 and M2. All eight channels are present on each output.
Option 2 is a special configuration for sawtooth generation (sawtooth waveforms are frequently used
in sound synthesis). In this case channels two and three appear only on the outputs FM1 and FM2
(footages M1 and M2) and are excluded from the rest. All five footages are available as enveloped
outputs.
Option 3 is intended for sophisticated automatic accompaniment circuits. All the channels appear on
three non -enveloped outputs (FL, FM1, FM2) for chord generation and can be disconnected or
command. Channels 4, 5, 6 and 7 appear on four enveloped outputs for arpeggi. The octave outputs
are used for the bass and include only channel 8.
Standard use Special for sawtooth Special for high class Only for Information
generation etc. accompaniment (no musical meaning)
- FL, FM1, FM2 are footage outputs not enveloped (with constant DC level)
- FLE, FM1E, FM2E, FH1E, FH2E are enveloped (without constant DC level).
Notes: 1) H2 is available only in option 2 on FH2 enveloped outputs. It is not available on octave related outputs.
2) In the option 2 the Sound channels 2 and 3 are available oily on pins 14 and 15 and consequently are
excluded from the other outputs.
3) Each channel can be disconnected with commands NC1 to NC8 (register 10).
One of the significant features of the M112 is the implementation of drawbar control circuitry. This
consists of our programmable attenuators, one for each of the footages routed to the octave outputs,
which are used to blend harmonics to produce the desired sound.
Other featu-es of the MI12 include hold, pedal end percussion effects, all of which are enabled/disabled
under software control. Hold, when active, inter-upts the decay of the ADSR envelope and Pedal inter-
rupts the release curve. Hold and pedal permit external control of the envelope. This feature can be
used, for example, to synthesize very realistic piano and harpisichord sounds.
A piano effect can be produced by suitably programming the envelope shapers but by using the hold
and pedal controls and a few external componerts much greater realism can be obtained. Fig. 4 shows
a simplified schematic of one of the envelope shapers together with the type of envelope generated. The
envelope parameters are controlled by RA, RD, RR and Vsus (RA, RD and RR are programmed resistors
controlling attack, decay and release). Disabling the natural decay and release and adding a handful
of components a close approximation to the ideal waveform can be produced (fig. 5). RI is a very large
resistance (typically 3 MS2) to give the long (several -seconds) time constant for the second decay.
Fig. 4 - Witn an external capacitor the MI12's envelope shapers produce the standard ADSR envelope.
M112
1.1411
Fig. 5 - Disabling the normal decay and release and adding a few external components a realistic piano
envelope can be produced.
MIIl
s -S140
INPUTS
Eight pins on the M112 are used to define the elementary time interval of the ADSR envelope shapers
(Pins 26 to 33). Capacitors, nominally 11.1F, are connected to these pins. Eight separate capacitors are
necessary because the envelope shapers are independently triggered. Analog inputs are also provided to
adjust the asymptotic release level (Vres, pin 24) and the charge/discharge current for attack, decay and
release (VT pin 12) in order to compensate the differences of ADR time constant between several
M112s used in the same instrument.
The sustain level is fixed by the voltage at pin 23.
The release time constant, digitally controlled by software, can also be fine adjusted by a trimmer con-
nected at pin 25.
PROGRAMMING
The M112 is programmed using five basic commands:
CHANNEL PROGRAM
ADSR PROGRAM
NON -ENVELOPED OUTPUT MASK
LOAD CONTROL REGISTER
DRAWBAR PROGRAM
These commands all consist of 12 bits transferred to the M112 (or one of the M112s) in two six -bit
bytes through six data lines. Data is latched into the M112 synchronously by a strobe signal. The M112
can be connected directly to an M387X series microcomputer.
Each command contains the address of the Register in which data is to be memorized (there are 16 re-
gisters) and the data.
Channel program commands consist of the channel code (4 bits), octave code (3 bits), note code (4 bits)
and a control bit, KP (key pressed). KP must be set if the key has just been pressed and reset if the note
has just been released.
DI D6
CHANNEL KP 02 CHANNEL
PROGRAM
01 00 NOTE
Resetting KP does not necessarily silence the channel because the sound continues after the key has been
released if the release time is non -zero. To stop a channel completely the unused note and octave codes
are used.
If an unused note code is programmed the channel is turned off with the output transistor in the ON
state and if an unused octave code is used the channel is turned off with the output transistor in the
OFF state. Six octave codes and twelve note codes are recognized, giving a keyboard span of 72 keys.
For example, to tell an M112 that channel three is to play F# in the third octave the command is:
Dl D6
CHANNEL 3 CODE IS 0010
0 0 1 0 1 0 OCTAVE 3 CODE IS 011
F It NOTE CODE IS 0110
1 1 0 1 1 0 KP IS SET
The ADSR Program command sets the attack, decay and release times for all the envelope shapers.
This command takes the form:
DI D6
1 r3 r2
ADSR
PROGRAM
rl d2 dl a3 a2 al
The code 1000 selects the ADSR control register, a3/a2/a1 is the attack time, d2/d1 is the decay time
and r3/r2/r1 is the relase time. These times are all multiples of the time interval set by external ca-
pacitors. With the suggested 1µF values this time interval is 15ms. The release code 000 is used to enable
the pedal effect.
The Non -Enveloped Output Mask command is used to select which channels are to -be routed to the
non -enveloped footage outputs. Any or all of the eight channels can be excluded by setting the appro-
priate bit.
DI D6
The Load Control Register command selects the footage and output options and enables/disables the
hold and percussion facilities.
DI 06
1 0 1 0 PO
LOAD CONTROL
REGISTER
HOLD OP3 OP2 NC1m m2 m1
"NCIm" is a control bit that excludes channel one from all outputs except the three non -enveloped
footages outputs. PO is the percussion disable bit, m2/m1 is the footage option select code for the mo-
nophonic output and OP2/0P1 the output configuration select code.
The drawbar -controlled attenuators are set independently for each footage using the Dravigbar Program
Command which has the form:
DI 06
FOOTAGE DRAWBAR
PROGRAM
ATTENUATION
APPLICATIONS
The M112 is intended for a wide range of applications ranging from simple single -keyboard organs to
2-3 manual instruments with sophisticated synthesis and accompaniment facilities. It can also be used
in electronic pianos, harpsichords, string synthesizers etc.
DESCRIPTION
Pin 1 - VSA Analog ground
Ground connection of all outputs. It is typically connected to Vss. By adjusting its value with respect
to Vss (plus/minus) it is possible to modify the output current and compensate the differences in cur-
rent between several M112s used in the same applications.
-06
CIED=CIIf
>0, ?, ips >0 z2,..
S MO<
Each 2 x 6 bit of information contains the address of the register (4 bit/16 registers) and the data up to
8 bits to be memorized in the selected register.
161 PHASE 20d PHASE
0, 06 01 06
A3 A2 Al AC X S 6 6 X S 1I
o o 0 0 1
1 0 0 0 2
o 1 0 0 3
1 1 0 0 4 Note -octave etc.
0 0 1 0 5 For Sound channel
1 0 1 0 6
0 1 1 0 7
1 1 1 Q 8
0 0 0 1 9
1 0 0 1 10
0 1 0 1 11
1 1 0 1 12 Control Commands
0 0 1 1 13
1 0 1 1 14
0 1 1 1 15
1 1 1 1 16 Used for test
This address sets the Ic in a test condition that can only be modified by a Reset command on pin 4.
Registers 1 to 8
There registers are related to the sound channels
Bus Data
D1 A3 must be "0"
D2 A2 Sound
PHASE 1
D3 Al Channel
D4 AO Selection
D5 KP
D6 02
01 01
Key
D2 00 information
D3 N3
PHASE 2 D4 N2
D5 N1
D6 NO
AO -A2: Sound channel selection with reference to table 3, register 1 is related to channel 1, register 2 to
channel 2 and so on up to channel 8.
0 1 0 2 2
1 1 0 3 3 Output
transistor
0 0 1 4 4 "OFF"
1 0 1 5 5
0 1 1 6 6
1 1 1 7 Note OFF
0 0 0 0 0 DO
1 0 0 0 1 DO#
0 1 0 0 2 RE
1 1 0 0 3 RE#
0 0 1 0 4 MI
1 0 1 0 5 FA
0 1 1 0 6 FA#
1 1 1 0 7 SOL
0 0 0 1 8 SOL#
1 0 0 1 9 LA
0 1 0 1 10 LA#
1 1 0 1 11 SI
0 0 1 1 12 Note "OFF"
1 0 1 1 13 Note "OFF" Output
0 1 1 1 14 Note "OFF" transistor
"ON"
1 1 1 1 15 Note "OFF"
Register 9 to 15
These registers are related to the various control commands
TABLE 6
Register
Data R9 R10 R11 R12 R13 R14 R15 R16
Bus
DI 1 1 1 1 1 1 1 1
02 0 0 0 0 1 1 1 1
D3 0 0 1 1 0 0 1 1
PHASE 1
D4 0 1 0 1 0 1 0 1
D5 r3 NC8 X X X X X X
06 r2 NC7 PO X X X X X
01 rl NC6 HOLD X X X X X
D2 d2 NC5 OP3 L5 MI 5 M2 5 HI 5 X
D3 dl NC4 OP2 L4 MI 4 M2 4 H1 4 X
PHASE 2
04 a3 NC3 Not m L3 MI 3 M2 3 H1 3 X
05 a2 NC2 m2 L2 MI 2 M2 2 H1 2 X
D6 al NC1 ml LI M1 1 M2 1 HI 1 X
Register 9 - R9 selects the ADR envelope parameters for ADSR control (see fig. 6)
Attack - al - a2 - a3 = 3 bit
Decay - dl - d2 = 2 bit 8 bit
Release - rl - r2 - r3 = 3 bit
KEY
PRESSED 1
WITH HOLD (SEE REGISTER10)
Table 7 shows the various time constants for Attack, Decay and Release.
TABLE 7
a3 a2 at Attack
d2 dl Decay
r3 r2 rl Release
0 0 0 T/2 47 00
0 0 1 T 8T T
0 1 0 2T 16T 2T
0 1 1 41 321 4T
1 0 0 8T 8T
1 0 1 16T 16T
1 1 0 32T 32T
1 1 1 64T 64T
Register 10 -Contains 8 commands to exclude the corresponding sound channel from the non -enveloped
footage outputs (FL-FM1-FM2)
0 = ON 1 =OFF
Register 11 - Contains the following 8 commands: ml and m2 select one of the four footages available
for the monophonic output (C1m) according to table 8.
TABLE 8
ml 0 1 0 1
m2 0 0 1 1
OP2-0P3 - Select the four output options described in table 1 according to table 9.
TABLE 9
r--------____ BIT
OP2 OP3
OPTION
I 0 0
II 1 0
III 0 1
IV 1 1
HOLD - If 0, disconnects the external 8 capacitors of envelope (1 pF) and the V SUSTAIN Pin (pin 23)
in the decay phase.
PO (Percussion Off) - If 1, the percussion input is inhibited (see pin 22 description).
NC1m-I f 1, eliminates channel 1 from all outputs except the 3 footage outputs not enveloped (it can be
eliminated from these outputs through the command NC1 of register 10).
N.B. NC1m command is inoperative on the monophonic output (C1m) where channel 1 is always pre-
sent.
Registers 12-13-14-15
These registers contain the drawbar control for 4 footages on the octave related output.
Footages L, M1, M2 and H1 are controlled in 32 linear levels or for example, using conversion table in
the microprocessor in 8 or 16 logarithmic levels.
Table 10 shows an example of footage L with 32, 16 and 8 step control in dB.
TABLE 10
L
5 4
L.1.1-
3 2
L
1
Animation in dB
32 steps 16 steps a stps
0 0 0 0 0 OFF OFF OFF
0 0 0 0 1 -29.8 -29.8 -29.8
0 0 0 1 0 -23.8 -23.8 -23.8
0 0 0 1 1 -20.3 -20.3 -20.3
0 0 1 0 0 -17.8 -17.8
0 0 1 0 1 -15.8 -15.8
0 0 1 1 0 -14.3 -14.3 -14.3
0 0 1 1 1 -12.9
0 1 0 0 0 -11.8 -11.8
0 1 0 0 1 -10.7
0 1 0 1 0 -9.8 -9.8
0 1 0 1 1 -9.0 -9.0
0 1 1 0 0 -8.2 -8.2
0 1 1 0 1 -7.5
0 1 1 1 0 -6.9 -6.9
0 1 1 1 1 -6.3
1 0 0 0 0 -5.7 -5.7
1 0 0 0 1 -5.2
1 0 0 1 0 -4.7
1 0 0 1 1 -4.2 -4.2 -4.2
1 0 1 0 0 -3.8
1 0 1 0 1 -3.4
1 0 1 1 0 -3.0 -3.0
1 0 1 1 1 -2.6
1 1 0 0 0 -2.2
1 1 0 0 1 -1.9
1 1 0 1 0 -1.5 -1.5
1 1 0 1 1 -1.2
1 1 1 0 0 -0.9
1 1 1 0 1 -0.58
1 1 1 1 0 -0.29
1 1 1 1 1 0 0 0
Pin 23 - V SUSTAIN
This input defines the level of sustain (see fig. 6).
Pin 24 - \inn
This pin controls the asymptote of V RELEASE through the gate of a transistor which discharges the en-
velope capacitor. If the performance at the end of release time is considered satisfactory, this pin must
be connected to Vss. Otherwise this input can be connected to a voltage not higher than 1V.
Pin 25 - VAR Analog release
This pin is intended for analog control of the release time constant when it is required in addition to the
digital one controlled by software.
men
s-sve
It allows intermediate values not included in table 7 (see explanation of register 9). In the case of pedal
effect connect this input to Vss.
11111
(161 VW 5iZ
PS
FEATURES
Independent control of attack and
recovery time.
Improved low frequency gall control (al (4.12) (2.14)
ripple
Complementary gain compression and
expansion with external Op Amp Note
I Supplied only in large SO (Small Outline) package.
Wide dynamic range-greater than
110dB
Temperature compensated gain
control ABSOLUTE MAXIMUM RATINGS
Low distortion gain cell PARAMETER RATING UNIT
Low noise -64V typical Supply voltag a 22
VCC VDC
Wide supply voltage rang -6V -22V TA Operating terrperature range 0 to 70 °C
System level adjustable with external Power dissipation 500
PD mW
components.
pacitor added in the level sensor, the gain the gain cell. Bases of the differential pairs
20
Electronics Digest Summer 1987
NE572 Signetics
(VBE = VT In IC/1S)
VT In
2 T 10) IG 10)
\ is / VT
\ /
= VT In
1
t
+ fin
- VT
1,(12 - I -
IS
-(2)
VI=
where fin =
= 6 8K
I1= i4OAA
12 = 280AA
The first term of eqn. (3) shows the multiplier SIMPLIFIED RECTIFIER SCHEMATIC
relationship of a linearized two quadrant
transconductance amplifier The second
term is the gain control feed through due to
the mismatch of devices. In the design this
has been minimized by large matched de-
vices and careful layout. Offset voltage is
caused by the device mismatch and it leads
to even harmonic distortion. The offset volt-
VRE
age can be trimmed out by feeding a current
source within 2 25µA into the THD trim pin.
The residual distortion is third harmonic dis-
tortion and is caused by gain control ripple
In a compandor system, available control of
fast attack and slow recovery improves rip-
ple distortion significantly At the unity gain
level of 100mV, the gain cell gives THD (to-
tal harmonic distortion) of 17% TYP. Output
noise with no input signals is only SAN in the
audio spectrum (10HZ-20KHZ) The output
current 10 must feed the virtual ground input
of an operational amplifier with a resistor
from output to inverting input. The non -invert-
ing input of the operational amplifier has to 31
Rectifier
The rectifier is a full -wave design as shown Figure 2
in Figure 2 The input voltage is converted to
current through the input resistor R2 and
turns on either 05 or 06 depending on the Butter Amplifier Neglecting diode impedance the gain Galt)
signal polarity. Deadband of the voltage to In audio systems, it is desirable to have last for AG can be expressed as follows.
current converter is reduced by the loop attack time and slow recovery time for a -t
gain of the gain block A2. If AC coupling is tone buret input. The fast attack time re- Galt) (GaiNT CIFNL) rA + GsFNL
used, the rectifier error comes only from in- duces transient channel overload but also GaiNT - Initial Gain
put bias current of gain block A2 The input causes low frequency ripple distortion. The
bias current is typically about 70nA Fre- low frequency ripple distortion can be im- rA - RA CA w IC% CA GRFNL =Final Gain
quency response of the gain block A2 also proved with the slow recovery time. If differ- where rA is the attack time constant and RA
causes second order error at high frequen- ent attack times are implemented in corre- is a 10K interns! resistor. Diode D15 opens
cy. The collector current of 06 is mirrored sponding frequency spectrums in a split the feedback loop of A3 for a negative going
and summed at the collector of 05 to form band audio system, high quality perfor- signal if the value DI capacitor CR is larger
the full wave rectified output current IR The mance can be achieved. The buffer amplifier than capacitor CA. The recovery time de-
rectifier transfer function is is designed to make this feature available pends only on CR RR. If :he diode imped-
Yu, VREF with minimum external components. Refer- ance is assumed negligible, the dynamic
ring to Figure 3, the rectifier output current is
R2 (4) gain GR (t) for AG is expressed as follows
mirrored into the input and output of the
II Vin is A.C. coupled, then the equation will unipolar buffer amplifier A3 through 05. Og
be reduced to.
and 010. Diodes D 11 and 012 improve '3(410 11. ((3R INT - 0R FNL) 111 rA + 0R FNL
Vin (AVG) tracking accuracy and provide common
inaC rR - RR CR w 10K CR
R2 mode bias for A3 For a 3ositive going input
The internal bias scheme limits the maxi- signal, the buffer amplifier acts like a volt- where iFt is the recovery 1 me constant and
mum output current IR to be around 3006A age follower. Therefore. the output imped- RR is a 10K internal resistor. The gain con-
Within a ± 1dB error bend the input range of ance of A3 makes the contribution of ca trol current is mirrored to the gain cell
the rectifier is about 52dB pacitor CR to attack time insignificant through 014. The low level gain errors due
Basic Expandor
Figure 4 shows an application of the circuit
as a simple expandor. The gain expression
of the system is given by
Vow- 2 R3VIN(AVG)
(5)
VIN I, Relli (II . 140µA)
- VB
( ROC RDC2
(8)
10,F 1,F (3.131
R4
The zener diodes DI and D2 are used for tai VCC (IS)
channel overload protection.
Figure 5
Basic Compandor System
The above basic compressor and expandor
can be applied to systems such as
tape /disc noise reduction, digital audio,
bucket brigade delay lines. Additional sys-
tem design techniques such as bandlimiting,
band splitting, pre -emphasis, de -emphasis
and equalization are easy to incorporate.
The IC is a versatile functional block to
achieve a high performance audio system.
Figure 6 shows the system level diagram for
reference.
114 53
VIN VOUT
Figure 4 +Vcc
ELECTRICAL CHARACTERISTICS S andard Teat Conditions (unless otherwise noted) Vcc 15V TA - 25°C Expandor mode (see test
circuit) Input signals at unity gain ievel (0d13)=100mV RMS at 1KHz, V, - V2. R2 3 3K, R3 .4 17.3K
LIMITS
PARAMETER TEST CONDITIONS UNIT
Min Typ Max
V RMS
[ [ J2 REL LEVEL ASS LEVEL
I NV -40 -57 75 -
TUNES SYNTHESIZER
PIN CONFIGURATION
28 LEAD DUAL IN LINE
FEATURES
TOP VIEW
- 25 Different Tunes Plus 3 Chimes
- Mask Programmable with Customer Specified Tunes
for Toys, Musical Boxes, etc.
GND C 1 28 3RESEF
//UDC 2 27 705C
- Minimal External Components
//DOC 3 26 3CLKOUT
- Automatic Switch -Off Signal at End of Tune for
GND C 4 25 7Tune Select A
Power Savings
GINDC 24 7Tune Select B
- Sequential Tune Mode
Play IC 6 23 7Tune Select C
Envelope Control to Give Organ or Piano Quality
Play 2C 7 22 ]Tune Select D
- 4 Door Capability When Used as Doorchime
CaptestC 8 21 7Tune Select E
- Operation with Tunes in External PROM if Required
Tune Select 4C 9 20 ]Tune Select 1
TUNES
PIN FUNCTIONS
7 Play 2 When activated by a logic low, it venerates one of the five tunes depending
upon selection of rune Select A through lune Select F pins (Tunes APT -FN).
If Tune Select A thru Tune Select F is not selected, simple chime is played.
Captest Works in conjunction with signal DISCRG to determine the speed of the lune.
Depending upon the rise time of the voltage at this pin, the tune will play
faster or slower.
thru Tune When power is applied to pin 2, the Chip scans Play 1, Play 2, lune Select A
Select 4 thru F and lune Select 1 thru 4 (Ref. fable 2, 5, et 4) and plays the tune
21,22,25, Tune Select A as selected by these pins.
24,25 thru Tune
Select F
10 Next Tune Scanned externally by lune Select 4 (Pin 9). If Pin /10 is at a logic low,
then the next tune selected will play.
11 DISCRG Works in conjunction with Captest (Pin 13). Controls the speed of the tine.
12 On/Off At power on, it is logic low voltage. At the end of the tune, it que!; to
npen. this pin can he used to control the power of the chip.
15 Envelope Controls overall volume and quality of the tune. Relates to the tapering of
the musical notes.
14 Tune Output Outputs the tune.
15 lune Select Detects selection of lune Select 1-4. If none is selected, lone Select Irt it
Strobe assumed.
16 Switch Group Rased upon the connection of this pin to Tune Select 1-4, one of the five
Select tunes will he played. The tunes selected are based upon the position of the
Tune Select A thru F (Reference fable I).
17 RESTART Scanned externally by lune Select 4 (Pin 9). If RESIART is at a logic low,
then the same tune will play providing power is continued to he applied to
the chip.
26 CLKOUI Signal timing of frequency equal to oscillator frequency (Pin 27) divided by
(output) four. May he used by external devices to synchronize to the oscillator
27 OSC (input) Oscillator input. this signal can he driven by an external oscillator if a
precise frequency of operation is required or an external RC network coo INS
used to set the frequency of operation of the internal clock gniierator.
This is a Schmitt trigger input. Oscillator frequency determines the pitch
of the tune.
TABLE 1
Typical Implementation
There are many ways to connect the standard device Switch Group Select pin (16)
depending on the exact application. Figure 1 shows is connected to: Tunes
just implementation of the device in a door -
one no other pin AO -E0
chime. This circuit gives access to all 25 tunes Tune Select 1 (pin 20) Al -El
from switch A and one of 5 tunes from switch C as Tune Select 2 (pin 19) A2 -E2
well as the descending active chime from switch B. Tune Select 3 (pin 18) A3 -E3
The tune selected for switch A follows the tunes lune Select 4 (pin 9) A4 -E4
list according to the setting of the two tune
select switches (A -E and 0-4). The tune selected Which of the five possible tunes will be played
from switch C in Figure is one of the five tunes
1
depends an the current setting of the letter
AO through Ell depending on the setting of the switch A -E.
letter switch. Switch B always selects Descending
Octave Chime independent of Tune Select switches. Switch Group Selection can he made by hard -wire
For example, with the letter switch set at E and connection for a permanent selection or a third
number switch set at 4, the tunes available will switch can he added for an additional group selec-
be: tion feature.
Next Tune Facilities
Switch A: Beethoven's 9th (E4)
At the end of tune play, the circuit of Figure 1
Switch C: Yankee Doodle (E0)
powers down because ON/OFF (pin 12) is raised to a
Switch B: Descending Octave Chime (Chime Z)
logic 1. The simplified flow diagram in Figure
shows that before the power down there is a test
When the letter switch is in position F there will
for connection between NEXT TUNE (pin 10) or
he chimes on all doors independent of the number
RESTART (pin 17) with TUNE SELECT 4 (pin 9). At
switch setting as follows:
this time NEXT TUNE (pin 10) then RESTART (pin 17),
which are normally at logic 1, output a logic O.
Switch A: Westminster Chime
This is looked for at input TUNE SELECT 4 (pin 9).
Switch C: Simple Chime
If neither is found the power down system is
Switch It: Descending Octave Chime
reached as in Figure 1.
!here is virtually no power consumption in the
standby condition (external transistor leakages A NFU TONE (pin 10) - TUNE SELECT 4 (pin 9)
only). When any door switch is activated the connection at the moment
of test causes the next
circuit powers up, plays a tune, and then automat- tune in the list to be played after a short pause
ically powers down again to conserve the battery, (equal to a musical breve - the actual time depends
even if the operator keeps his finger on the switch on the setting of the tune speed control). The
to the end of the tune. He must release it and re- order of the tunes is AO to E4 as given in the
press to play again with the circuit in Figure 1. listing of standard AY -S-1550 tunes. If the last
Activating any of the door switches will pull point tune (E4) was played then the circuit will go on
A to ground turning on the PNP transistor in the to play the first tune AO (and then successive
power supply line. This causes +5V to be applied ones). The chimes are not included in the cycling
to the AY -3-1350 and the first operation of the sequence.
R3
0 1 2 3 4
I CS
O 16V
1R7
Cl 1 C2
2 t7
1 215 1
26 24
213 1 211
22
1
20
1
1H 16
15
C4
AY -3-1350 I I
+5V
C4
5 67 2
11 14
0 R9
H it
9V +5V SPEED
R14
R10
SW A R16
R11
000R SW B
SWITCHES R12 3
SW C Q2
R13
PARTS LIST
Resistors Iransistors
mechanism is passed through once more so the tune Name Notation Octal Binary
AY -3-1350
I
Fig. 5 PROM Memory Allocation
S 7
Address DATA
lune 1
2000iF
16V
6 PLAY 1
DOOR PUSHES
PI AY 2
9 I SE1 EC( 4 377 (end of tune marker)
1
Ill NI XI IUNE
17 RI 'IART More tunes
25 228 9
No. of tunes.)
-r
$43 203 all 885
POWER APPLIED
INTERROGATE EXTERNAL PROM 10 GET CORRECT INTERROGATE INTERNAL PROM TO GET CORRECT
SELECTION ACCORDING 10 SETTINGS OF LETTER, SELECTION ACCORDING 10 SETTINGS OF LEITER,
NUMBER, AND BACKDOOR GROUP SELECT NUMBER, AND BACKDOOR GROUP start
SWITCHES SWITCHES
DELAY
SELECIED NEXT TUNE
THIRD DOOR
SELECT TUNE AO REQLESTED?
LAST
CYCLING NEXT TUNE
TUNE PLAYED? REQLESTED?
DELAY
RESTART
OR BACKDOOR
REQUESTED?
3mS SINCE
POWER OFF?
TABLE 2
SELECTION OF CHIMES
A H C D E I 2 5 4
1 I 1 1 1 X X X X 1 I Westminster Chime
1 1 1 1 1 X X X X 0 1 Descending Octave Chime
1 I 1 1 1 X X X X 1 0 Simple Chime
TABLE 3
SELECTION OF TUNES*
A B C D E 1 2 5 4 1 1
0 I 1 1 1 I 1 1 I I 1
AO
01111
0
0
1
1
1
1
1
1
1
I
0
1
I
1
0
I
I
0
1
1
1
1
1
I
I
Al
A2
A3
0 I 1 1 1 1 1 1 0 I 1 A4
1 0 1 1 1 1 I 1 1 1 I
BO
1 I 1 1 0 1 I 1 0 I I E4
*These tunes are activated when power is applied to the chip. In Fig. 1, it is achieved when switch A is
depressed. Also, switch B = PLAY and switch C = PLAY 2
1
TABLE 4
SELECTION OF TUNES
A B C D E 1 2 5 4
I I I 1 I X X X X 1 (1 Simple Chime
0 1 1 1 1 X X X X I Ti AO
1 11 1 I 1 X X X X I 0 Bo
I 1 0 1 1 X X X X 1 0 CO
1 1 1 0 1 X X X X 1 0 DO
I 1 1 1 0 X X X X 1 0 E0
X X X X X X X X X 0 X Descending Chimes
KI Y: 0 = Switch activated
I = Switch not activated
X = Do not care
marker. The memory allocation is shown diagrammat- lengths. In practice one pitch code is allocated
ically in Figure 5. Tunes ran he of any length and as silence to allow musical rests of different
there ran he any number of them subject only to the lengths to he implemented. Figure 4 gives the
memory limit (28 max.). length table and Figure 7 the note pitch table. It
Fig. 9 PLAYING YOUR OW TUNES WITH EXTERNAL PROM (OR INTERNAL TUNES)
12 GND 4011
20 OE A5 3
A6 2
A7 +5 CND
D7 D6 D5 D4 03 D2 Dl DO 3 4 5 2 4011 1 14 7
+5v 13.2
17 16 15 14 13 11 10 9 4078 14 7
0 S2
4078
25K C 0 1
PITCH D005
100K OWTROL E0 R16 S
F
R4 +5
2,7K
R3 515
3K INT
D4
3 3
O. Iuf - 50
- 03
4
CI
T PF
C2
+9V
2A n 23 f4 23 22 fl 0 18 17 16 15
3. 3K
R18
AY -3-1350 uxe MN
TUNES SYNTHESIZER
45
C6 If 47K
+9V D3
47K 7 9 19 4
A Q2
+5v +5V
RS 470 nic
ea
5
DI
R6
uf1
= D2
4I1P
C3 = 3KS R11
33K
33K
ELECTRICAL CHARACTERISTICS
Output High Voltage (Note 3) VOH 2.4 - VDD V ION' 100pA (Note I)
3.5 - VDD
V 10H=0
Output Low Voltage VOL - 0.45 V .10L=1.6mA, Vxx=4.5V
Input leakage Current (RESET,
pins 6, 7, & 8) -5 - +5 VSS < VIN < VDD
ILC NA
Output leakage Current (open
drain I/O pins 12 & 13) IOLC - - 10 kiA V55 < VpIN < 10V.
Input Low Current (all I/O ports) IIL -0.2 -0.6 -1.6 rrbA VIL=0.4V internal pullup
Input High Current (all 1/0 ports) IN -0.1 -0.4 -1.4 mA VN=2.4V
NOTES:
1. Positive current indicates current into pin. Negative current indicates current out of pin.
2. Pins 6, 7 and 8 have open drain inputs (no internal pullup resistor).
S. Except pins 12 and 13 which have open drain outputs.
Hardware Implementations As a specific example, the music for the first part
lo play the 28 internal tunes of the AY -3-1350 of Star Spangled Banner is shown in Figure 6 with
tunes Synthesizer, the device should he connected up the notes coded in octal below the music. Figure 8
as shown in the One Chip Standard AY -3-1350 System represents just one of the tunes shown in the
section. To play tunes Which you have written into overall memory scheme of Figure 5 and it shows the
the PROM in the manner described above, the actual data that would have to be incorporated into
AY -3-1350 and the PROM should he interconnected as the external PROM to get a tune consisting of these
shown in Figure 9. This can be used for demonstra- 6 notes.
tions, on -off implementations or small scale pro-
ductions. this circuit will also play the internal
tunes (See internal/external switch).
The signal path is designed for very low noise and distor-
Hi-Fi equalizer LC3 LCIO
(MO DATA
CLOCK 51605E
`lil 14 LEVEL DO
01
16 LEVEL DS
S11111 06 I I
DATA
2
07
4-0
it
Ouu066uuuuLA 41.0 11
11
-
it
NMI 0
r ---4-;T 44.
1111C
7 30 :41
3 lk V 4 AS 116 A? 51
A013
LATCH Al
Rd2
7.31
[ELECTOR Al OIC
ROOST OUT
RN MC
3 IR 341
sa
xf 1111
23
A GOIO 01
Sb
1155 551
116C 611 0-`1VIIVId-41111140 251
3.41 3 4k
25
0-.-.0V1V1kr R30 16k
A1.17 0 vys, 620 1 1 1
RIO W. 141661
7 3k .411/V- ROb 31
NMI O
20 1-1 L.J L.J Lr..1
062
7 3k
27
Ain 0
05 07 05 05 010 011 024 03 on 021 020 01, 010
LC I LC2 LC3 LC4 LCS LC. LC7 LCI LC9 LCIO LC11 1C12 LCI3 LC14
IDOL Supply Current Pins 14, 15, 16 are 0), 0.01 0.5 0.5 mA (Max)
ISSL Pins 14, 15, 16 are 0), 0.01 0.5 0.5 mA (Max)
IDDH Pins 14, 15, 16 are 5V 1.3 5 5 mA (Max)
ISSH Pins 14, 15, 16 are 5).$ 0.9 5 5 mA (Max)
VIH High -Level Input Voltage @Pins 14, 15, 16 1.8 2.3 2.5 V (Min)
VII_ Low -Level Input Voltage @Pins 14, 15, 16 0.9 0.6 0.4 V (Max)
tvi(STSI
Width of STe Input See Figure 1 0.25 1 1 i.i.S (Min)
tcs Delay from Rising Edge of CLOCK See Figure 1 0.25 1 1 siS (Min)
to SIT
IIN Input Current @Pins 14, 15, 16 OV< VIN <5V ± 0.01 ±1 u.A (Max)
Timing Diagram
SV
CLOCK INPUT
OV
5V
DATA iNPUI
OW
K. (5141
5V
STROBE INPut
OV
n.swws.ss
Note: To change the gain or the presently selected band, rt is not necessary to send DATA 1 (Band Selection) each time.
FIGURE 1
Test Circuits
+15V -15V
tOn
Vies
470
0 soon
100k 114433
1008 1001
OA A
r--
riso ikso issolssaiNf sea
TAO 6
LIAM&
L. - J
Ansi *4112 A4113 Ater LC1 LCI 1C3 LC4 L.C5 LC6 LC7 vii 0 ONO CLOCK
2 3 4 5 6 7 11 11 12 13 14
1001. 1001
LM/33
470
LA1433
0 VautA
Via*
On
Timing Diagrams
-DATA SETS
DATA I 'BAND SELECT10141 DATA II (GAM SELECTION)
CLOCK
DATA
00000000 00000000
STROBE
Note: To Menge Me gam of the xesenty selected band, t is not necessary I send DATA 1 (Band Selection) each time 6753 4
FIGURE 2
Test Circuits (Continued)
I
Vat
L...J
I
I
r
I
Iiiiill
V1.24 8112
lrII lf lfII
11
V121 tLTI
II
II
A1,,
ir
II
II
v111 + 7 SW
I
I
FIGURE 4. Test Circuit for Leakage Current Measurement
DATA r
L
STROBE
-1
WORD I
17t 27 25 125 22 Ii5
A DID AN5 Am, A.
124
LC8
23
LC9 LCIO
21
LCI 1 1
20
12 LC13
19 111
1C14 V0
IT 5
0 TA MWE
CLOCK GENERATOR
I r -1
CND I
LMC835
- -J
ILK
Aou ts1 A1/44 LCI LCD LC3 LC4 LCD LC6 LC1 V15 0 ND CLOCK
6 9 10 12 13 114
r
I I
vz- 1.40r-irdor1sr
I II II II II I/ II
11 VI II viii VIII V11l VIII Viii
I i II II 11 II 11 II I
JL J
vusul -iim a 105
.
V15 V14 9L7 V11 VII V110 Kt" - 5v FIGURE 5. Ito V Converter
Truth Tables
DATA I (Band Selection)
D7 D6 D5 D4 D3 D2 01 DO
(Ch A: Band 1 - 7, Ch B: Band 8- 14)
H X L L L L L L
H X L L L L L H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, No Band Selection
H X L L L L H L
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 1
H X L L L L H H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 2
H X L L L H L L
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 3
H X L L L H L H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 4
H X L L L H H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 5
L
H X L L L H H H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 6
H X L L H L L L
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 7
H X L L H L L H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 8
H X L L H L H L
Ch A 3 12 dB Range, Ch B ± 12 dB Range, Band 9
H X L L H L H H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 10
H X L L H H L L
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 11
H X L L H H L H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 12
H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 13
HHI-1
H X L L H H L
H X L L H
Ch A ± 12 dB Range, Ch B ± 12 dB Range, Band 14
Ch A ± 12 dB Range, Ch B ± 12 dB Range, No Band Selection
H X L H Valid Binary Input
H X HL Valid Binary Input
Ch A ± 12 dB Range, Ch B ± 6 dB Range, Band 1 - 14
Ch A ± 6 dB Range, Ch B ± 12 dB Range, Band 1- 14
H X H H Valid Binary Input
Ch A ± 6 dB Range, Ch B ± 6 dB Range, Band 1 - 14
4- Band Code
O O DATA II (Gain Selection)
0 DATA 1 D7 003 D5 D1 D3 D2 D1 DO
O Don't Care
Flat L X L L L L L L
Ch A ±6 dB/ t 12 dB Range
1 dB Boost L H H L L L L L
Ch B t 6 dB/ ± 12 dB Range
2 dB Boost L H L H L L L L
3 dB Boost L H L L H L L L
4 dB Boost L H L L L H L L
This is the gain if the ± 12 dB range is 5 dB Boost L H L L L L H L
selected by DATA I. If the ±6 dB
HL HLHL HL
6 dB Boost L H L H L L H L
range is selected, then the values 7 dB Boost L H H L
shown must be approximately halved. 8 dB Boost L H H L
See the characteristics curves for 9 dB Boost L H L L L L L H
more exact data.
10 dB Boost L H H L H L L H
O DATA II 11 dB Boost L H H L H H L H
O Boost/Cut 12 dB Boost L H H L H H H H
1 dB 12 dB Cut L L Valid Above Input
I- Gain Code
II 0
CLOCK CLOCK
11
a
3
CK 0 .11 CK CK 0
3
CK
KC74 MC74 MC74 DATA
12 MC/4
START 0 0 12
a
RC 0
10 11 11 13 14 3 1 5 6
*V .v00000doo
07 D6 05 04 03 Dl 01 DO
12 1 6 -
0 1.8 5
01 1.5 4
I6 0.1 3
11 5.4
Si 8.2
1234587 I 9 II -N -u N 71 IN 125 3 4 5 5 7 6 tI
SUPPLY MIME (55) TEMPER/TUN (%) INKIJT VOLTAGE 1111
It _- 6 P. 1.51
t
4 It 009
3 3 111
8 g 0 57
SON
o 95
I 2 3 4 5 6 7 1 10 -69 -N S 15 51 75 1N 125 -N -25 11 21 158 TS IN 125
SUPPLY VOLTAGE I ± V) TEN/FUTURE )C) TEIONIATUME (C)
;_':
0 Os
002
212 OS RANGE
-2121
FLAT
I
//1110111
Sims
01111111
.1 111111 ;
0 05
0 02
-
2616 RAMIE
FLAT
is NI
--
-""
-
'
E 002
0.05
d=ii:..ILHYr
111
g 0 005 FM 511i;;:t.....,
MII1161, Ell Weill. gum-
11111
0 DOS
mem mNowl.1185111' i el III 7.7,
a
5 005
fIS
0 002 11111111=1.1111
:
1111
0 002 1 :: Er :.,.
111 Ellil I
. ..
NI
1 III
0 002
0 001
Ilk 0 001
C=31111111 0 001
10 IN 1K 11111 1101 10 15 11111 11101 0I 8.1 1 2 5 10
-
Distortion vs Output Voltage Gain vs Frequency Gain vs Frequency
1 6 dB Range ± 12 dB Range (Boost) 12 dB Range (Cut)
01 15 3
--
Ys . ± 7 55. TA. nn-m 96.6611.16.106t 111.11111 1111111111
111.11111 .1111111
y... .6 4.1Y1 N1ININEINO1110
4,11111: 111.1111(111.1151111
/ i 13 RAM 13 a Mel Mil
-
o 05 II ICECII1 MI1111111 410951111151511111
04444111
FLAT
J11111 it M111111114131/_111, u:'1111
-1 Menu NISsommsotti, ammo
- 211 NI /111111
M11111,102,2_.111 111111:4.
outicar_stu Nosi:..
NOINNuNIONINIE[111111 wow
. 0, masesimmisioarAiii01111t,
1111111CLUM1
§ 001 oinimprzioni 7
10511III CLAIN 111111:!Ii 3
MIRNIMI1111111111111111111X111111 0017,
MNIIIM111.11.011115111111ILII
0005
-=-7;i-F-1--"" 5
1011111CLEJ111 moo,. 5
NIENNIYIN ININImatifill111111'0,
I7 .111111.11.11111111111[31111101151,
MUM 411.111111111-411111 /11011
Mi. AINIM1171 3
11111011111 ZELJ11111 IN51111 11111//0111
alb . z- PalliPaini 150111111110M11111 111114.;!.. Num ros,,111
minamossincsusioeivr;,,,
0 002
0 001
1Illih1iii1:110II
01 52 11.5 1 5
-1
18 IN
11111111 CEL.11111 11115.;:1'
1.1111111 IP-111111 1111411..:
MIN41111.1111111111 005111111
10 IN INK
-I1muswissuiv.au_nw,
-12 alun-Hutivisesiniiiii11111
1S IN 10 IN
Ii
INK
OUTFIT VOLUME (Ores) FREQUENCY FREOUENCY (14z)
S 2121 RANGE
I 1 4
3
IN
SN
2
2N
I OS
masu5nElormm
1151
=.241:...
1141.1115a/ 0
FLAT
38
Electronics Digest Summer 1987
National
LMC835 rddrA Semiconductor
Typical Applications
+15V -15V
771
Vim 0 'AA. It
27k
pr-.007-r0....1
II II is II si
r--
I 11 I
l
I 21 . 122 I I Z3 " 24 11 15 11 26 I l Z7 I
Ilk I 1I II II 11 II 11 I DATA
I IMO 44144 Irms 441T ICI LCI LC1O LC11 L 12 LCI3 L 14 V0 DATA 5T17NR
LIIC136 -3
A4111 Au A14 LC1 LC2 LC3 1C4 LCD LCI LC7 Wu 0 6110 :LOCK
106 4 1 p 16 p p0 pi 12 114
t5
1 I1 11 II IS II II I
+ 47,, + 43,
I Zi 111211 13
el III 24 is
11 25 a2f 11 17
it is I
amen. m.1 -JL.AL -JL -JL -J
loo IMP
240
27kf ADJ
1001 1001
-7 5V L111371 - 154
I. UT IN
LI1/33
470
166 O VOUTA
27k
111A 0 VIA, It
Vs
*-1
1114
+ I5V -150
IL, HM3753 - 1
LM835 Galn vs Frequency LM835 Gain vs Frequency LM835 Gain vs Frequency LM835 Gain vs Frequency
Cs ± 12 dB Range 12 dB Range g 6 dB Range ±6 dB Range
(All Boost or Cut) 1 kHz Boost or Cut) (All Boost or Cut) (1 kHz Boost or Cut)
TO
12
5111 .IIIIDIIIHIIIN III
16
12
myIU
Mil 11.011111 I alimi sow
Iii 1
Mil 06091111p mum I mom
Ell 0 1111111w N511111b M51111i.
INN II, 01111' 611111160.10,1 U.S II 611111111 A11111111 0111116
0..ii mu Ih 1511111' '11111011111111116 IN1110 6.1110 1111161 Me111x1
./.1rAvo. mom on
it IN/
4
1111111 6111111/ 1111111E1111m
U.S ob. '1111111111161 811111 ..4. Ono 111111111
4
r.v..'. 4
1111 DIP -6 .16 .106- ',Mow 2
IN11 he' ...rte IIll1111110
0
U.S
.666111 .1MOSte.
711/1I SUM g0 a
2
0
NON ."1....
MIN ..7.68NOIs."
wm
3 -4
-1 "ostI
1.1
A
11.1, ism
3 -4
Mai
nil /11061111.III
,1111111MNIIII
M11110101811.
1111111101 6
4111411N Ill -2
3-2
4
Win II
.111111
- 17 -12 U.S III 1111, ''41111111601Niiiii
U.S 11401111m .111111164.81011 -6 -1 Min
111111A1111116606/8iiAINI1101 - IA 1111111101111611111111Milliii6 -
110 100 IK 10K 100K 10 00 1K 100 100K is 100 IR 104 10011 10 100 1K 10K 100K
FREQUENCY INT) FREOUENCY IRO FREOUFNCY 11411 FREQUENCY 1111
6 6k
276
INA 0 'A&
7 470
Ytte 0 ANT
276
_L
ii..mi
I
I
II
IIIII
Is
11 II is 1111611 zii111121
II I` I
II II
10k + 7 Ai
2Lri Ir 1 Li
10 01005
I 10 DATA
STO 1f pm IC - 1.111 is
21 2112{125 23 2 21 20 11 17 11 15
A 000 A1111 AIMS A1117 ICI LCI LCIO LCII LC12 LC13 1014 VA OAT* iffir'n
LIAC135
Lo' CL Rt. Ro
Atm Amu Aim A1114 LC1 LC2 LC3 LC4 105 LO6 17 Wis D ONO
12 13 4 5 11 7 1 0 10 11 12 13 I4 CLOCK 00 rc0-1°R02
17 D OND
Ro00
-750 1 01263
1L"1 ;11L1X.1171)..
II I
L
I II 11 11
g Z1 1 g 22 11 2 ig 24 11 25 1 116 1 1 27
II II (t590055k21611011kAllk# kil)
IL/H/6753-15
I el II II II I II II
Lama/ 1.10.11.1111..ma.4.4 4.4..m.11 FIGURE 10. Tuned Circuit for
FIGURE 9. 12 -Band Equalizer 12 -Band Equalizer (Figure 9)
iv .,..1 111M/11111
p .s.v 0.4. a.. .5 ra
Z5
Z8
Z7
250
500
1k
0.22µ
0.1µ
0.047µ
0.0331.4
0.015p.
0.01p.
82k
100k
82k
680
680
680
_2 .ti 4.11.
W*11.4 WO 1 It 11 Z8 2k 0.022µ 0.0047µ 91k 680
_4 111.'2/1.0041. 1/.11.V.' if Al
II ell 'IV 111 11 I. Z9 4k 0.01p 0.0022p. 110k 680
-1 101111115111111111111111111111111101 Z10 8k 0.0068µ 0.001p 82k 680
_1 5111111151111111 011111111111111 1111
Z11 16k 0.0033p. 680p 82k 680
20 ISO tK 10K 1001 Z12 32k 0.0015p. 470p 68k 510
FREOUEICY IRO
LM835 12 Band E.Q. Application 12 Band Equalizer Application 1.11835 12 Band E.O. Application
Gain vs Frequency LM835 Galn vs Frequency Gain vs Frequency
C ± 12 dB Range ID ± 12 dB Range ±111d13 Range
(1 kHz Boost or Cut) (All Boost or Cut) 1 kHz Boost or Cut)
16 16
111101111111111111 [NOM 11 /el agO11i1 511111 11111 Mill NOM
11111114111111110 11111111 1E1111111 4/104110 11111 ..00011.14114 IMMiu Sill 5111111
12 12
'014 6
Will 5011111
6
1111111 11111N11111 .111111 71111:11
01111.1111'
11111111.111'. 1111 1111111111
111111 01111 11
W
.11' VIA
h A'
l II
1:01 11 A'1'.1 410.
I
4 05111
11II,Sell'
11111 11111
11111
r.1%.4'.1. A 47. .V.,....1411.1 Maui Nom
z
4
0
111.111111111
Sam
11011 1
1111119111111111
t ' "Aro 46 ".*..' .. MR14, 2
Mel
581
Main.
0
11111111n
mow.
3
11/1 1,1si
S....11
41111,111111
VOL".
61!/'''1.'4'1' '84' 1.1 I'A III
04 0
-2 1111176O111
M1111 111
O1111
ll 011111
11101111 1I 0111111111111111
1.111111 111111 111111111111111
-6 S111or11" 11.1. 11 .00;1 1.1.111'
H. a 11111 411111 111/1111'4 -4 IN111111,1111
10111111 51111
. IOW 1.11111
111111 M1111
-12 Sill 11 1.111111 A111111 -12 17 IVO A.4:J 4:111:/li4
UMW MUM; Mimi Innis' -6 111111111 1111111 /111111
IN111111 M1111.1 51111 51111
1111111
11111111111111111111 M11 111111111i
511111, 110111111 ilM11111 "7.611111
-s 11111 155111.1 000111 1111111
16 - 16
11 100 IR 1011 2006 10 100 70 ITN 100K 70 101 IK 100K
10n
1,
LN$33 I 410
SELECTABLE
GAIN IS OFF
41/1V 0 00971 - 17 dB TO .14 dB
11180
F.+ STROBE
21 It 15 25 f24 12:1121 12.111201..1791 17 6
LIIC435
5 11 Ami Aift/ 403 AIN4 LC1 1C2 1C3 1 4 LC5 ICS 1 7 V. 0 090 CLOCK
STRIAE
12_4,,
_t
100 7 8 9
; ;_
CLOCK
47 47, , II is"
1
Is 1 1
;_ J
1
i 0 680
CLOCK
1 11 11 12 11 Z3 11 24 1 1 15 1 1 16 1 1 17 1 0 GOO
I II II II II II II I
100p 111000 L-JL-JL-JL-J L-JL-JL-J
Tt 01 6753 16
1000 FIGURE 12. Stereo 7-Input/1-Output Mixers
1006 1000 (THD is not as low as equalizer circuit)
004 ion
000971
111833
tr
VIMA 081.1 I 01113
.5V
IIH, 30 011 - 30 dll
12
V
VOW.
STROBE 83
25
0 080
16
4
STROBE
14
CLOCK
TUN/8753-20 87 IP 0 GNO
FIGURE 14. LMC835-COP404L CPU Interface 1
TL/H/6753-10
FIGURE 13. Stereo Volume Control, Very Low THD
Application Hints
HOW TO AVOID SWITCHING NOISE DUE TO LEAKAGE
SWITCHING NOISE CURRENT (Refer to Figures 7 and 8)
The LMC835 uses CMOS analog switches that have small To avoid switching noise due to leakage currents when
leakages (less than 50 nA). When a band is selected for flat changing the gain, it is recommended to put RLEAK = 100
gain, all the switches in that band are open and the resona- Kft between Pin 3 and Pin 5-11 each, Pin 26 and Pin 12-
tor circuit is not connected to the LMC835 resistor network 24 each. The resistor limits tie voltage that the capacitor
It is only in the flat mode that the small leakage currents can can charge to, with minimal effects on the equalization. The
cause problems. The input to the resonator circuit is usually frequency response change die to RLEAK are shown n Fig-
a capacitor and the leakage currents will slowly charge up ure 15. The gain error is only 0.2 dB and 0 er-or is only 5%
this capacitor to a large voltage if there is no resistive path at 12 dB boost or cut.
to limit it. When the band is set to any value other than flat,
the charge on the capacitor will be discharged by the resis-
tor network and there will be a transient at the output. To
limit the size of this transient, RLEAK is necessary
RAM
ADDRESS COMMENTS
3C DATA ;GAIN DATA D4 -D7
3D DATA ;GAIN DATA DO -D3
3E DATA ;BAND DATA D4 -D7
3F DATA ;BAND DATA DO -D3
L141-33
0 VOW
1004
1001
1004
r"Aq V011i
47,, j_
1001 -.-
Z. 27 26 75
44.114,
24
Rau
7 31.4"..411rrik.\.
341 341 LI0C135
0 0
1101
17 01/6 41
FrY07771 -1-r10
644
TUH/6753 21
DC COUPLING MODEL
AC COUPLING TUH/6753-21
00
/ 10 -0 10.0
FIGURE 15. Effect of RLEAK RESULT TL/H/8753-22
XTLI 12 17 1751.2
A novel switched -capacitor modulator and a digital coher-
ent demodulator provide 1200 bps QPSK operation while a SCR '14 1441. 1
2 LIM Comparator input. Connected exter- In Die er mode, both tone generators are employed to
nal 0.033 uF capacitor here. generate DTMF tone pairs. The summed modulator outputs
4 DOT If HS - 1, forces a 1200 bps dotting drive a lowpass filter which serves as a fixed compromise
pattern on the transmit path, for use amplitude and delay equalizer for the phone line and re-
when programming the 212AT high duces output harmonic energy well below maximum speci-
speed self -test mode. Both RCV fied levels. The filter output drives an output buffer
and XMIT paths are in SYNC mode amplifier with low output impedance. The buffer provides
during dotting transmission, overrid- 700 rrVrms in data mode, for a nominal -9 dBm level at
ing the setting of SYNC, and of the line, assuming 2 dB loss in the data access arrange-
HSK1, HSK2. If HS - 0, DOT forces ment.
a 155 bps dotting pattern for use in
lowspeed self -test mode. 1 - Normal DTMF Tone Generation
The mA212AT includes on -chip DTMF generation, using
Path, 0 - Dotting.
two programmable tone generators. Dialer mode must be
19 TEST When the TEST pin is inactive selected on TEST, HSK1 and HSK2 for DTMF dialing. The
16 HSK1, (high), HSK1 and HSK2 select one 0/A, HS, MOD1 and MOD2 pins are used to select the
17 HSK2 of four transmit conditions, for use required digit according to the encoding scheme shown in
when programming the Handshake Table 2, and the tones are turned on and off by the logic
sequences. (See Table 1). When level cn TXSO. The generated tones meet the applicable
TEST is active (low), the HSK1 and CCITT and EIA requirement for tone dialing. DTMF output
HSK2 pins select one of three test levels are 1.0 Vrms (low group) and 1.25 Vrms (high
conditions, or, alternatively, the dial- group)
er mode used for call progress tone
detection and DTMF tone genera- For ecl-fitiortel informabon contact sales office for Applications Note ASP -1
tion, pA212AT only. Theory of Operation- pA2 1 2 A " and Technical Bulletins 1.41, M3 S AAA
03M
EDET
WM UM I
DEPOT
RECEIVE FILTER DETECTOR
SALANC-ED
faxER
ANTI -ALIAS NM - OPSK DONT
FILTER
DESCRAMBLER SCAM
FILTER SANC...S$FILTER DEMODULATOR DE CODER
SOFT
LIMITER
1041.10) ETC
SCT -
Fit LPF, ORMIAL
SLICER LOOP
FSK DTMF
MOCKILAT OR /GE ME RATOP
1111
AGAID OGNO TOO Vss TESO
f
HSK I
flrif
HSK 2 TEST DOT M001 M002
t
HS
pA2 1 2A T only
recovered dibit stream. The dibit decoder circuit utilizes the the eight control pins. The pA212A and pA212AT (togeth-
recovered clock signal to convert this dibit stream to serial er with the host controller) supports analog loopback, and
data at 1200 bps. local and remote digital loopback modes. Arelog loopback
forces the receiver to the transmitter channel. The control-
The recovered bit stream is then descrambled, using the ler forces the line control circuit on -hook but continues to
inverse of the transmit scrambler algorithm. In synchronous monitor the ring indicator. This mode is available for low-
speed, highspeed synchronous and highspeed asynchro- (TEST = HSK1 HSK2 - 1), RCS. 'T is set to
nous operation. In local digital loop, the modem I.C. 0. Upon detecting this the controller
isolates the interface, slaves the transmit clock to SCR responds by setting TEST and HSK2 to 0,
(high-speed mode), and loops received data back to the and the modem I.C. isolates )17i5, clamps
transmitter. In remote digital loop, local digital loop is initi- riXD to 1, and transmits a 1200 bps
ated in the tar -end modem by request of the near -end scrambled dotting pattern. At this point,
modem, if the far -end modem is so enabled. The pA212A upon receipt of a scrambled mark signal,
and µA212AT includes the handshake sequences required the modem I.C. internally loops RCVR data
for this mode; the controller merely monitors RUST and and clock to the XMTR, and sets InTgr
controls remote loopback according to Table 3. Remote back to 1. (See Table 3)
loop is only available in high-speed mode.
31aler Mode The µA212AT provides DTMF tone
generation and energy indication at EDET
Answer Tons In this mode, 2225 Hz answer tone is
pin to identity call progress tones, i.e. dial,
transmitted provided TYM is inactive high
busy and ringback. The DTMF digit is
( - 1). Receive speed is selected as normal
selected by the levels on 0/A, HS. MOD1
with the HS pin. This permits the speed of
and MOD2 according to Table 2. Tone
the originating modem to be determined
generation is turned on and off by the
while answer tone is continuously
level on TXSO. 1 = on, 0= off. The
transmitted.
i.,A212A provides call progress indication
Force Disconnects TO pin from the transmitter only. TXSO must be set to 0.
Continuous and forces the signal internally to a mark
Mark (logic 1). Table 2 DTMF Encoding2 (µA212AT only)
Force Disconnects T715 pin from the transmitter 0/A HS MOD1 MOD2 DTMF Digit
Continuous and forces the signal internally to a space
Space (logic 0). 0 0 0 0
0 0 0 1
Electrical Characteristics Unless otherwise noted: VDD = 5.0 V ± 5%, Vss = -5.0 V ± 5%, DGND = AGND = 0
V, TA = 0°C to 70°C, typical characteristics specified at VDD = 5.0 V, Vss -5.0 V,
TA = 25°C; all digital signals are referenced to DGND, all analog signals are
referenced to AGND.
Key:
SCT - TX Buffer and PSK Modulator Clock INT - Internal 1200 Hz Clock
SCR -Recetve Clock X -Don'. Care
ETC - External Clock Input - - Set as appropriate for desired operating condition.
Disable scrambler
Disconnect XD
Force 1 on R705
Transmit unscrambled mark (U.M.)
Disconnect 'OM
Force on RXD
1
S.M. recognized
Internally loop Receiver to Transmitter
"RDL ESTABLISHED" 0 1 0 1
*TEST- HSK1 - HSK2 - 1 may be asserted at anytime after "RDL ESTABLISHED' and before terminating.
Energy Detector
Symbol Characteristic Condition Min Typ Max Units
Vthon Off/On Threshold Voltage Level at RXIN 6.5 mVrms
Vthott On/Ott Threshold Pin In Data Mode 5.2
ton Energy Detect Time Data Mode at EDET Pin 105 155 205 ms
toff Loss of Energy Detect Time 10 17 24 ms
System Performance
Symbol Characteristic Condition Min Typ Max Units
BER Blt Error Rate: SNR required for Plane - -30 dBm 13 dB
BER - 10-5 CO 1200 bps on a Plow - -44 dBm 14 dB
3002 -CO line, with 5 kHz white noise
referred to 3 KHz. Figures shown are
for originate mode. (Note: Pi,43 values
assume 4 dB net gain from line to
RXIN)
Telegraph Distortion Back -to -Back. 300 bps 10 % Peak
(Low Speed Mode)
Masterclock input
Symbol Characteristic Condition Min Typ Max Unita
Vexth 1 External Clock Irput HIGH XTL2 driven and XTL1 4.5 V
I
grounded
Vextl 1 External Clock Input LOW XTL2 driven and XTL1 0.5 V
grounded
I
Digital Interface
Symbol L Characteristic Condition Min Typ Max Units
VII_ I Input Voltage LOW 0.6 V
Va.' Input Voltage HIGH 2.2 V
VOL Output Voltage LOW IL = 2.0 mA 0.6 V
VON Output Voltage HIGH IL = -2.0 mA 3.0 V
IL Input Current LOW DGND < Vit.t < VIA, -100 PA
All Digital Inputs
liri Input Current HIGH VIN < Vast < VDD -50 PA
1pp Operating Current VDD = 5.0 V 4.3 10 rnA
No Analog Signals
ISS Operating Current Vss - -5.0 V -2.7 -5.0 mA
No Analog Signals
Receive Buffer (Character Asynchronous Mode) Carrier Frequencies and Signaling Rates
Symbol Characteristic Condition Min Typ Max Units
Rachel Intracharacter Signaling Rate At FIT1',5( pin 1219.05 bps
Fcxr (ORIG) HS Cxr Freq. (Orig. Mode) Unmoculated Carrier 1200 Hz
F", (ANS) HS Cxr Freq. (Ans. Mode) Unmoculated Carrier 2400 Hz
Baud Dibit Rate High Speed Mode 600 Baud
Frnark (ORIG) Mark Frequency Originate Mode (1270) Low Speed Mode 1289.42 Hz
Fspece (ORIG) Space Frequency Originate Mode (1070) Low Speed Mode 1066.67 Hz
Pod a -30dElm
I
10
a
a
10'a
a
101
10'
4 6 a 10 12 14 16
Note
BER measured In synchronous mode, using an AEA S3A channel simulata
Output Characteristics 1 1 0 0
Table 1.4 summarizes nominal output levels at the TXO 0 B
pin for Data mode, and for the DTMF Low and High tone
0 C
groups. Absolute values and values relative to Data mode D
are shown.
The TMS 1121 Universal Timer Controller is a mask -programmed version of the TMS 1000 Family 4 -bit single chip
microcomputer providing the function of a programmable time of day, day of week controller. When the TMS 1121 is
used to implement the general purpose timer controller function, as shown in Figure 1, the system features:
The system is configured with a keyboard for user inputs, a 4 -digit LED clock display, and LED's to indicate AM/PM,
day of week, switches, and ON/OFF/SLEEP status. The device operates from a 9 -volt power supply, and is packaged
in a 28 -pin plastic package. A system incorporating the TMS 1121 is capable of performing both as a digital clock and
as a timer/controller.
CLOCK OPERATION
The TMS 1121 operates as a real-time clock which displays the time of day, AM or PM, and the day of the week. The
accuracy of the clock is defined by the variation of the 50/60 Hz signal supplied to the device. Time of day and day of
the week are entered through the keyboard and displayed on a 4 -digit LED display.
TIMER/CONTROLLER
The TMS 1121 is capable of retaining up to 18 timer sets (programs) which are entered through the keyboard. Each of
these timer sets can control one of four independent output switches which, in turn, can be used to control external
devices.
Timer sets can be segregated into two types: (1) Fixed time programs which toggle an output switch at a specific time,
and (2) Interval programs which toggle an output switch after a specified interval of time has elapsed. Each timer
set will toggle only one switch. The SLEEP function SLP) is used to turn a switch ON for one hour and then OFF,
thereby using one timer set to perform two functions and thus saving one timer set. Interval programs are automatically
deleted from memory upon execution. Fixed -time programs will be retained in memory and repeatedly executed.
The TMS 1121 has been designed so that the user can easily interface with the system via the keyboard (Figure 2). For
example, using the keyboard the user can turn any output switch ON or OFF without programming the action into
memory, thus providing direct control of the switches. Additionally, the user can change the timer settings by either
selectively deleting all the timer sets which refer to one day or one switch, or by deleting all timer sets in order to start
programming into a cleared memory. Finally, any program in memory can be called to the display with the proper key-
board sequence in order to verify that the TMS 1121 had been programmed correctly.
2. OPERATION
When the TMS 1121 is powered up, the internal clock is automatically initialized to 12:00 PM on Sunday with all
switches OFF and no programs stored. If the AC signal is 60 Hz, the clock setting is displayed immediately, if the
AC signal is 50 Hz, the CLK key must be pressed to start and display the clock. After power -up the clock setting may
be changed to a new value at any time.
DRIVER
DRIVER
-0*-00-111111-
R5 R4 Ro
0
DA SUN MON TUE WED THU FRI
0 1 6
I I
SAT EE SW
AM PM
7 DISP DISP 0
TMS 1121
MEM
ON OFF SLP CLR CLK K4
CLR
AC 50/60 Hz
9V
SAT WEEK SW
8 9 AM PM
7 DISP DISP
MEM
ON OFF SLP CLR CLK
CLR
which would start the clock at 5 00 PM on Monday. The pattern for the key sequence is always the same. A day of
of the week is registered with WEEK 1 key. An AM or PM key is pressed and the desired time is entered,
then the CLK key is pressed. Because the clock is not actually started from the new value until the CLK .1 key
is pressed, the timer clock may easily be synchronized with another clock. The value of the clock will only be changed
if the key sequence has been correct, otherwise, the CLK key returns the display to the previous value of the
clock, updated to the time the CLK 1 key is pressed.
Errors in the key sequence may also be corrected before the CLK key is pressed. Correction Procedures are explain.
ed in the ERRORS section (2.5).
Fixed -time programs change the state of a switch when the clock reaches a preset time. A typical key sequence for
entering a fixed -time program would be:
switch number one on Monday at 5:10 PM. Keys 1 2 3 or 4 select the switch affected when
followed by the t SW key. The day and time are entered next, in the same order as the clock setting entry (section
2.2). The last key assigns a function to the program: ON ,1 OFF 1, or SLP 1 ON Or OFF
turns the affected switch on or off at the programmed time. I SLP I causes the switch to be turned on at the time
setting that has been entered, then turned off one hour later.
As the key sequence is entered, the digital readout and LED indicators display the program settings. The day of the
week, time of day, switch number, and function of the program may remain on display without halting the operation
of the timer; the clock runs and the switches are turned on or off regardless of the display status. Clock information
may be redisplayed by pressing the CLK key.
If the next program is completely different from its predecessor, the above key sequence must be repeated in its entirety
with the new parameters. If the switch affected and the day of the week are the same, a shortened key sequence suf-
fices to store the program. An example of the shortened key sequence would be:
PM 5 1 5 OFF
If this sequence followed the above long sequence, output number one would be turned off at 5:15 PM on Monday.
The shortened key sequence must follow the lung one directly, without pressing the CLK I key between programs.
A succession of short sequences may follow each other, to program several actions of cne switch on one day.
The EDAY key may be used in fixed -time programming in place of a day -of -the -week key. Programming an action
with EDAY causes that action to occur at the programmed time on every day of the week.
3 SW 2 0 0 ON
In this case, switch number three would be turned on two hours after the ON key was pressed. Either the
[ ON OFF , or SLP functions may be used with an interval program. If SLP is used, the switch is
turned on after the programmed interval, then turned off one hour later. As with fixed -time programs, a shortened key
sequence may be used for a succession of programs following one with the ordinary sequence, as long as the switch is
the same. An example of the short sequence for interval programs would be:
2 0 1 OFF
Following the above entry, this sequence would turn switch three off two hours and one minute after the OFF key
was pressed. The maximum time length for any interval is 11 hours, 59 minutes.
1 SW MON WEEK AM 0 ON
1 SW MON WEEK AM 0 ON
the result would be to turn on switch one on Monday at 1:00 AM. Another example. the set of programs.
4 SW SAT WEEK PM
El C:J 5 OFF
turns switch four on at 6:45 PM every day of the week except Saturday. Finally, the set of programs
would turn switch two off at 7:30 AM on Friday instead of 8:00 AM.
A switch may be operated directly from the keyboard. A sample Key sequence would be.
SW SLP
In this case, the SLP function would ne immediately executed on switch number two This switch would be
turned on as soon as the SLP key is pushed and turned off one hour later. Any of the three functions may be
specified for any of the four switches in this manner. The direct manipulations .ire not stored in RAM as programs.
2.5 ERRORS
The usual error indication is 99:99 on the display. This occurs if the key sequence is incorrect or if a program is
attempted with an invalid time. The timer will convert times from the 24 -hour system to 12 -hour times for both clock
setting and programming. The 12 hour time is found by subtracting 12 hours from a 24 hour time. If a 24 -hour time,
e.g. 22:10, is entered, it will be accepted as its 12 hour analog, 10:10, but the AM/PM selection is not affected by
this conversion. Time values incorrect in both the 12 -hour and 24 -hour systems result in the 99:99 error indication.
The time conversion also holds true in interval programs and for this reason the interval length is limited to 11 hours,
59 minutes. Intervals up to 23 hours, 59 minutes will be accepted but corrected to 12 -hour time -lengths. Again, interval
programs incorrect in both systems will produce 99:99 on the display. The indication of 88:88 on the display occurs if
an attempt is made to store more than 18 programs.
During program input, errors may be corrected by several methods. Depressing the CLK key will display the cur-
rent clock setting and erase program or change of clock attempts that have not yet been stored, i.e. before keys
ON ,
OFF SLP or MEM CLR are pressed. The CLR key clears the display, and may there-
fore be used to clear errors before a program is stored. When more than four digits are entered from the keyboard, the
leftmost digit is rolled off the display. Only the digits shown on the display when a key sequence is completed will be
stored.
The programs stored in memory can be displayed by depressing the DISP keys twice. For example, the key
sequence:
1 SW/DISP SW/DISP
disp ays the programs for switch number one. One program is displayed for every two times SW/DISP is pressed.
The programs for a day of the week are displayed in the same way but using the WE E KID ISP 1 key. A key sequence
for Wednesday would be:
Programs entered with the EDAY are displayed using that key and the WEEK/DISP key. For example,
This key sequence only displays programs originally entered with EDAY . Programs entered on a specific day of
the week must be displayed with the key corresponding to that day.
When a program is displayed, the digital readout shows the programmed time of the switch state change and the LED
indicators show the day of the week, the number of the switch affected, and the function programmed. Both fixed -time
and interval programs (before execution) can be displayed. When an interval program is shown, the display shows the
programmed time of its execution, i.e. the time of day and day of the week corresponding to the end of the interval.
When programs using the SLP function are displayed, the display changes with the progress of the program execu-
tion. For example, the following key sequence would be used to turn switch three on for one hour on Friday at
10:00 AM.
Before this program is executed, displaying it would show it as a SLP 1 program. The LED's would indicate
switch three, Friday, 10:00 AM, and SLP Between 10:00 and 11:00 AM on Friday, however, when the
.
switch is on, displaying the program shows the time when the switch is to be turned off. In this case the LED's would
show switch three, Friday, 11:00 AM, and OFF. After this time, the program display returns to the SLP settings.
Each time the switch state of a SLP program changes, the program display is updated to show the next change in
the switch state.
The memory may be cleared entirely or selectively using the MEM CLR key. When pressed twice, this key clears
everything stored in the RAM. The programs for an individual switch or day of the week may also be cleared without
disturbing other stored programs.
1 SW MEM CLR
is an example of a key sequence for deleting all the programs for switch number one.
would delete the programs for Thursday. Programs stored specifically with the EDAY key are cleared using that
key in place of a day of the week.
3. APPLICATIONS EXAMPLES
The TMS 1121 Universal Timer Controller can be used in systems designed for industrial, consumer and other applica-
tions. The four switches of the TMS 1121 can be used to control (turn ON and OFF) lights, sound signals, home
appliances, etc.
The examples given below are intended only as illustrations to show how systems with TMS 1121 can be used and pro-
grammed. Design and implementation details are not discussed here and are left to the user's discretion.
Suppose it is desired that the timer control the signal lights at a street intersection near a school. For two hours in the
morning and two hours in the afternoon, five days a week, the regular traffic signal at the intersection is to be turned
off, to allow traffic to be manually directed, and special warning lights are to be turned on.
O
O
A set of programs for the TMS 1121 would begin by turning the traffic signal on initially with the sequence:
2 I svi I ON
The operation of the normal traffic signal would be governed by the set of programs:
AM 9 1 0 0 ON
PM 2 0 0 OFF
PM 4 0 0 ON
2 SW SAT WEEK AM 7 0 0 ON
PM 2 0 0 ON I
2 SW SUN WEEK AM 7 0 0 ON
PM 2 0 0 ON
This program set would turn the traffic signal off between 7:00 AM and 9:00 AM and between 2.00 PM and
4:00 PM, Monday through Friday. The signal would operate normally on Saturday and Sunday. In order to minimize
memory usage, overlapping programs are used to keep the signal from being turned off over the weekend.
The operation of the special warning lights would be governed by the set of programs:
1 SW EDAY WEEK 7 0 0 ON
AM 9 0 L1 I OFF
PM 2 j
0 0 ON
PM 0 OFF
PM 0 OFF
I PM 2 0 0 OFF
This set operates in the same manner as the previous one. In all, 16 programs are used.
The timer can be used to control the lighting in a home as a deterrent to potential burglars. The timer can be used to
turn on lights and other electrical devices and make the house seem occupied when the residents are away. One problem
with the implementation of this idea is that patterns in the lighting control are recognizable; the TMS 1121 has an ad-
vantage in this respect because of the number of programs that can be stored, and the long weekly cycle.
A block diagram of a system to control lights and other devices in a house would be:
TV OR STEREO
SW1
LIGHT 3
SW2
TMS 1121 LIGHT 2
SW3
LIGHT 1
00
SW4
Programs operating the lights and television may be spread through a week in any order. An example for one evening
might be:
SW TUE WEEK PM 6 1 7 ON
PM 1 0 0 6 OFF.
3 SW TUE WEEK PM 6 3 3 ON
PM 7 2 5 OFF
4 SW TUE WEEK PM 8 1 1 ON
PM 1 1 1 6 OFF
A timer has numerous applications in the kitchen. In the control of an oven especially, timing is important. One example
of connection to kitchen appliances is shown by the block diagram.:
SW1 OVEN
SW3 ALARM
SW ON
1 SW 5 OFF
would turn the oven on when the ON key was pressed and off 25 minutes later.
The sequence
sw rn 5 ON
6 OFF
entered at the same time as the oven program would sound the alarm for a minute atter the oven has been turned off.
The alarm could be stopped from the keyboard, before the minute was up, by the sequence
SW OFF
Turning the oven on for 25 minutes could also be accomplished with fixed -time programs. They would turn the oven
on between specific times of the day. The set of programs:
I. SW TUE WEEK PM
PM
6
6
0
2
0
5
ON
[ OFF I
3 SW TUE WEEK PM 6 2 5 1
ON
PM 6 2 I.
6 I_ OFF _I
is an example for turning on the oven on Tuesday night between 6:00 and 6:25 PM.
A timed burner could be used in several ways. After turning it on the sequence
1E11 SW ON
the cook could wait until it came up to a desired temperature before starting the timer. After this period, the program
SW 3 0 OFF
could be used to insure that the burner only remained on for thirty minutes, and an alarm could be sounded at the end
of this period with
SW Li] 0 ON
0 OFF
4.1 ABSOLUTE MAXIMUM RATINGS OVER OPERATING FREE -AIR TEMPERATURE RANGE
(Unless Otherwise Noted)*
'Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is
a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in
the "Recommended Operating Conditions- section of this specification is not implied. Exposure to absolute maximum
rated conditions for extended periods may affect device reliability.
NOTES 1.Unless otherwise noted all voltages are with respect to VSS.
2. These average values apply for any 100 ms period.
3. Ripple must not exceed 0.2 volts peak to peak in the Operating frequency range.
4. The algebraic convention where the most -positive (least -negative) limit is designated as maximum is used in this specification for
voltage levels only.
VSS
VlH (o)
VDD--4H--- I,
et -101- ti t
I I
I
4.3 ELECTRICAL CHARACTERISTICS OVER RECOMMENDED OPERATING FREE -AIR TEMPERATURE RANGE
(Unless Otherwise Noted)
foss Internal oscillator frequency Rext = 50K,f2, Cext = 47 pF 250 300 350 kHz
Ci Small -signal input capacitance, K inputs Vi = 0, f = 1 kHz 10 pF
Ci(o) Input capacitance, clock input Vi = 0, f = 100 kHz 25 pF
TMS 1121
TYPICAL OF ALL 0 AND R
TYPICAL OF ALL K INPUTS OPEN -DRAIN OUTPUTS
VSS
R8 Ci1 281] Al
R9 E2 27:] R6
R10 c[143 261] R5
VDD 25.] R4
241J R3
I
K1 a.-15
K2 [16 23,j R2
H OOUTPUT K4 22]Rl
K8 C8 21 ] RO
INIT C 9 20,] VSS
07 10 19] OSC2
The 0 outputs have nominally 60 SZ on -state impedance. 06 C 11 18 ,] OSC1
05 E 12 17]00
4.5 INTERNAL CLOCK 04 C 13 16 ] 01
03 [114 15:] 0?
TYPICAL INTERNAL OSCILLATOR FREQUENCY
VS
EXTERNAL RESISTANCE
400
I
VDD- -15 V
TA ., X5°C
300 ialk
%IF
X
RECOMMENDED
OPERATING
POINT
F
2 -C,....100 pF 47 pF 27 pF 10 pF Op
To use the internal oscillator, the OSC1 and OSC2 Lerminals are shorted together and tied to an external resistor to
VDD and a capacitor to VSS.
LL 9V 11WI I1W1
9V to
12011
11W1
4 7,F 01.F
I 120V1 PI
470 141 0272222
r - 'I -arC1.7.071
SIG GNO 10 OV
00
17 I I
1
.
KI
1.,,_
GND 41 A SEG
1
i I 1
16 I I
01
i I L,
50/60 Hz EISEG
I
L___
I 1
15 I I I
02
1 I i C SEG
I
14
03 1,,,A1! :(1
L_J L -_J .1 D SEG
E SEG
05
P1 F SEG
r - - --;
KBM 1 14,
06
G SEG
10
07
KBM 2
.1 o P
L_J L_ -J
470 14) 0272222
KBM 3 106 IC I F91/1
L II S975492 L
1006 Ro
21
r 5vs7 MI
MODE DG
r
Kg
19914 22
-I 111
23
-wl 1st DG
R2 2nd DG
EI L 0212222
24
I 1609s R3 4 3,4 DG
E2 L.; SS
R4
25 C> 4th DC
05_F 47 pF
WEEK DG
1911
1006 18
L GY../
19914 0 01.F OSCI
M SW DG
I I
0272222
L -.J
0212222 19914
9
OSC2 686 P2
476
686
OV
sw,
VDD 28
R7
19914 SW2
KBM I
KBM 6
KBM c
L
L I
iI
I
L_J
I CI
1.1 5W3
KBM d r 4 I
KBM .r SW/1
I KEW I I. 1 1 1K
is,
I KBM p L
1/..
6 86 141
.1
r- , L_J
1
0272222
I
120 V IN4002 4
AC 12
100V/120V 100V
2800 1pF
OV
$,F
(25V)
-(50y)
GND
p A7808
330 5
1 pF
(50V)
200 51
(SIG GND)
0
TO A.G. LINE
+ 12
IN645
SW 1
K2 i ; IN645
-J SW 2
1N645
SW 3
K4 IN645
L_-J SVV 4 )
FIGURE 6. TYPICAL A.C. OUTLET SWITCHING CIRCUIT FOR THE UNIVERSAL TIMER CONTROLLER
6. TMS 1122
These are the functional differences between the TMS 1121 and TMS 1122 TIMER circuits.
SUN MON TUE WED THU FRI SAT SW1 SVV2 SW3 SW4
LED 7 6 4 2 1 9 10 7 6 4 2 1 9 10 7 6 42 1 9 10 76
TIL209A PM AM ON OFF SLP
(2)
/ T// Tilr/It/
/ / / 1
I_.
MODE DG COLON
V LED IL220(3)
lstDG
2ndDG
3rdDG I.
4thDG F. NUMERIC DISPLAY TIL322(4)
WEEK DG
SW DG
KBM 2
SAT
7
-- AL/1}) P111.,
WEEK
DIS
fo
SW
14
OFF
_A CIA
KBM 3
KBM a lo
KBM
I KBM c I4
KBM d
KBM e L
KBM f
KBM g
-J
1 3V (appros)
RAGCF503n (appro4
1001in
Output to
0
audio amplifier
vci
RF RF
Input amp amp mp
C2
Very high input
impedance stage
L Earth
0
transistor detector
The ZN414Z is within the dotted area
3624
-16
_z I I *Oka 11in
77200 VCC
ZN414
OUTPUT TO 18dB
HEADPHONES 5
BUFFER OUTPUT TO
(2 x32n) STAG HEADPHONES
I 2 x 32tx
T0 01,uF
L 3 71 2 3 4 7
7)JF
DEVICE SPECIFICATIONS Tamb = 25°C, \ice = 1.4V. Parameters apply to all types unless
otherwise stated.
AGC range - 20 dB
-
1 I I I I
70 look RL Vcc
0 01,u
60 vOUT
'7513 ZN414Z
i
50
RL =1500n
40
RL . 670n
30
Vcc = IA Volts
tc . 455k Hz
20 f modulated - 400112
Moduloton = 30% RL .10013
10
0
10,u 00p lm 10m 100m
Vcc z 16V
m=301.
100 Attenuation
on Input
20
lOmV
10
6mV
lmV 3mV
0
0 1004 1M 10M
fc -(Hz)
l H III
Input Frequency r 1MHz
3835
In
O Modulation Frequency r 400 Hz
E 30 Modulation Depth =30%
An= 05mV rms.
RL= lkn
1. CL= 0-1pF
2
I 20
10
a
0
09 1.0 11 12 13 14 15 16
Supply Voltage - Volts
14
306
13
12
11
RL = 470n
10a
09
R1..1 5411
06
1004
07 001,u
IVcc .1 4 W118
fc =455kHz
'modulated 40011z
1 Modulation 30%
1 I 1 1 1 1 11 1 1 1 1 1 11 I 1 1 111111
10m 133p lm 10m
LAYOUT REQUIREMENTS
As with any high gain R.F. device, certain basic layout rules must be adhered to if stable and reliable
operation is to be obtained. These are listed below:
1. The output decoupling capacitor should be soldered as near as possible to the output and earth
leads of the ZN414Z. Furthermore, its value together with the AGC resistor (RAGc) should be
calculated at = 4kHz, i.e.:
C (farads) = 1
OPERATING NOTES
la) Selectivity
To obtain good selectivity, essential with any T.R.F. device, the ZN414Z must be fed from an
efficient, high 'Q' coil and capacitor tuning network. With suitable components the selectivity is
comparable to superhet designs, except that a very strong signal in proximity to the receiver may
swamp the device unless the ferrite rod aerial is rotated to "null -out" the strong signal.
Two other factors affect the apparent selectivity of the device. Firstly, the gain of the ZN414Z
is voltage sensitive (shown on page 5) so that, in strong signal areas, less supply voltage will be
needed tc obtain correct AGC action. Incorrect adjustment of the AGC causes a strong station
to occupy a much wider bandwidth than necessary and in extreme cases can cause the RF stages
to saturate before the AGC can limit RF gain. This gives the effect of swamping together with
reduced AF output. All the above factors have to be considered if optimum performance is to be
obtained.
lc) Trimmer
A suitable variable capacitor with a range of 10-1 2OpF is available from Murata as the TZO3R1214.
93 93
4 7krk 220kn
3 9kn
ZTX 300
I
DI
56kn
I
F 02
01pf
RAGC RAGC
680n lap 250n 1RAGc
I P1,-&
To ZN414Z output
To ZN414Z output To ZN414Z output
RECOMMENDED CIRCUITS
la) Earphone radio
The ZN414Z will drive a sensitive earpiece directly. In this case, an earpiece of equivalent impedance
to RAGc is substituted for RAGc in the basic tuner circuit. Unfortunately, the cost of a sensitive
earpiece is high, and unless an ultra -miniature radio is wanted, it is considerably cheaper to use
a low cost crystal earpiece and add a single gain stage. One further advantage of this technique
is that provision for a volume control can be made. A suitable circuit is shown below.
Ynpedarloe
Crystal
10Cbo Earpiece
15v_
ZN414Z
= 0 OlpF Ci .150pF
3.29
L1 .80 turns of 0.3mm dia. enamelled copper wire on a 5cm or 7.5cm long ferrite rod. Do not
expect to adhere rigidly to the coil -capacitor details given. Any value of L1 and C1 which will give
a high 'Q' at the desired frequency may be used.
Volume Control: a 2500 potentiometer in series with a 1000 fixed resistor substituted for the 2700
emitter resistor provides an effective volume control.
EIFS60
I
R16 lOko
iLt LSI
-C1=001
tOn
(bli
Ferrite rod
55 turns 250 turns
/tone layer
To 2144142
28 swg Wire input
FERRITE ROD 6" , dia. *To give a better frequency response
5V
Ceramic Resonator-
Mallard LP 1175/2 or Murata 10kn
27423 zsloo equovalent SFD 455B 10krt 10krt
/- 1 100Itn
O'0 i
--
312 I
L
33pFI0
O033pF
1
I 0 1,oF
Tk nr OV
1.
27 turns on a
= 68pF 7kn titr arnrrt)
former
0
X rs a 26 74 1.1117 crystal 2
Tel1}AF
12kn 3030
Performance Details:
Sensitivity = 2.5µV for a 5V p.t.p. output measured at fc = 27.21MHz,
100% modulated with 100Hz square wave.
Selectivity: + 5kHz for < 100mV p.t.p. output.
Input Signal Range: 2.5µV to 25mV (i.e. 80dB)
Supply Current: 2.4.5mA.
1kta
0
9V
25
100k n
II
( J--
H
I
A/ B
I I
Z TX
312 :L2 ZN414Z - audio
amp
Ferrite I
rod F1171-
I
/'
pF
Murata
5F0 4558
C ." 25k n
PF PF
L J 352311
FURTHER APPLICATIONS
The ZN414Z is an extremely versatile device and, in a data sheet, it is not possible to show all
its varied applications. A comprehensive applications note on the device is available which gives
full details of various radio receivers, I.F. amplifiers and frequency standards together with
comprehensive technical information.
The LM1830. is a monolithic bipolar integrated circuit Low external parts count
designed for use in fluid detection systems. The circuit is Wide supply operating range
ideal for detecting the presence, absence, or level of
One side of probe input can be grounded
water, or other polar liquids. An ac signal is passed
through two probes within the fluid. A detector deter- ac coupling to probe to prevent plating
mines the presence or absence of the fluid by comparing Interna ly regulated supply
the resistance of the fluid between the probes with the ac or dc output GNO
DIAS
ARE,
OSCILLATOR
Note 1: The maximum junction temperature rating of the IM1830N is 150°C. For operation at elevated temperatures, devices in the dualinline
plastic package must be dented based on a thermal resistance of 175°C/W.
Schematic Diagram
OSCILLATOR OPTIONAL
OSCILLATOR OUTPUT DOTE TOR Fl TER
`la OUTPUT (SREF) INPUT CAPACITOR OUTPUT
11
to
VOL
CI GOO CI
is illustrated in Figure 3. In situations where a non- ble resistance device, such as light dependent resistor or OUTPUT CURRENT PIN 1211mA/
conductive container is used, the probe may be designed thermistor or resistive position transducer.
in a number of ways. In some cases a simple phono plug Oscillator Frequency vs
can be employed. Other probe designs include conduc- The following table lists some common fluids which may Ambient Temperature
tive parallel strips on printed circuit boards. and may not be detected by resistive probe techniques. 20
18 Vec 16v -
16
J
Conductive Fluids Non -Conductive Fluids 12
Equivalent Resistance vs
Concentration of Several
Normalized Oscillator Frequenty Threshold Resistance vs Supply Power Supply Current vs Solutions
vs Supply Voltage Voltage Supp y Voltage
500
115 25 It 458
I
TA 25C TA 25 C TA -40 C 400
20 10
Ise
3011
105 IS
250
200
10 6
I54
TA 25C 100
095
N
05 2 O001 001
5 10 IS 20 25 30 5 10 15 20 25 30 0 5 10 15 20 25 38
CONCENTRATION (GRAM MOLECULAR
SUPPLY VOLTAGE 1V1 SUPPLY VOLTAGE 1V1 SUPPLY VOLTAGE 151 EOUIVALENTS/LITRE)
61CC 16W
wtc
LEO
LIO
vcc
Slit
I PHOTO
TRANSISTOR
I MR
FIGURE 3. Basic Low Level Warning Device Output is activated when 6,60 7.; 1 /3 RREF
with LEO Indication FIGURE 4. Direct Coupled Applications
TIC
Typical Applications
OPTIONAL
II RELAY OR
SO1E11010
TRANSIENT
PROTECTION
RESISTOR
5011,F
NS NI
Low Level Warning with Audio Output High Leval Warning Device
10B1C 12 29 BC1
The AY-3-8910A/8912A Programable Sound Generator
IOBOC 13 28 BC2
(PSG) is circuit which can produce a wide
an LSI
10A7C 14 27 0 BD I R
variety of complex sounds under software control.
I 0A6C 15 26 No Connect
The AY-3-8910A/8912A is manufactured in the General
I0A5C 16 25 A8
Instrument Microelectronics +-Channel Ion Implant
I 0A4C 17 24
Process. Operation requires a single .5V power
1 0A3C 18 23 grcer
supply, a T IL compatible clock, and a microproces-
10A2C 19 22 Clock
sor controller, such as the General Instrument 16 -
10A 1 C 20 21 3 i0A0
bit CP1610 or one of the PIC1650 series of 8 -bit
microcomputers.
L-
This III. compatible input supplies the timing These pins are for General Instrument test purposes
reference for the Tone, Noise, end Envelope only and should be left open. Do not use as
Generators.
tie -points.
CPU bus. DA7-DA0 are in the freeing the system processor for otner tasks.
output mode.
1 0 0 BAR LATCH ADDRESS. See 111 (INTAK) REGISTER ARRAY:
below.
1 0 1 DM INACTIVE. See 010 (IAB) above. The principal element of the PSG is the array of
1 I 0 CMS WRITE TO PSG. This signal indi- 16 read/write control registers. Tnese 16 regis-
cates that the bus contains ters look to the CPU as a block of memory and, as
register data which should be such, occupy a 16 word block out of 1,024 possible
latched into the currently addresses. The 10 address bits (8 bits on the
addressed register. DA7--DAO common data/address bus, and 2 separate address
are in the input mode. bits) are decoded as follows:
1 1 1 MAK LATCH ADDRESS. This signal
indicates that the bus contains A9 A8 DA7 DA6 DA5 044 DA3 DA2 DA1 DAD
a register address which should 0 1 0 0 o 1 o 0 0 0 0
be latched in the PSG. DA7 - -
THROUGH
DAD are in the input mode.
0 1 0 0 0 0 1 1 1
PSG PSG
DDIR 8C2 BC1 FUNCTION
0 1 0 INACTIVE.
0 1 READ FROM PSG. FROM
1 0 WRITE TO PSG. PROCESSOR
1 1 1 LATCH ADDRESS.
The four low order address bits select one of the 1221E121 Registers, Function
16 registers (RO-R178). The six high order
address bits function as chip selects to control lone Generator RO--R5 Program tone periods
the tri-state bidirectional buffers (when the high Control
order address bits are incorrect, the bidirection- Noise Generator R6 Program noise period
al buffers are forced to a hig0 impedance state). Control
High order address bits n, A8 are fixed in the PSG Mixer Control R7 Enable tone and/or
design to recognize a "01" code; high order address noise on selected
bits DA7--DA4 are programmed to recognize only a channels
"0000" code. All addresses are latched internally. Amplitude R10 -R12 Select fixed or
This internally latched address is updated and modi- Control variable (envelope)
fied on every latch address signal presented to the amplitudes
Envelope R13 -R15 Program envelope
PSG via the BDIR, BC2, end BC1 inputs. A latched
Generator period end select
address will remain valid until the receipt of a new
Control envelope pattern
address, enabling multiple reads and writes of the
same register contents without the need for redun-
Tone Generator Control
dant re -addressing.
OPERATIC/1s
Noise Generator Control NOTE: Disabling noise end tone does not turn off
channel. fuming a channel off can only be accom-
(Register R6) plished by writing all zeros into the corresponding
Amplitude Control Register.
The frequency of the noise source is obtained by
dividing the input clock by 16, then by further Amplitude Control
dividing the result by the programed 5 bit Noise
Period value. This 5 bit value consists of the (Registers R10, 1111, R12)
lower 5 bits (B4--80) of register R6, as illus-
traded: The amplitude of the signals generated by each of
the three D/A Converters (or" each for Channels
Noise Period A, B, end C) is determined by -the content of the
Register R6 Lowers bits (84-80) of registers R10, R11, and
R12 as illustrated.
Function:
Port: 0 1 1 1 1
X X X X Amplitude Defined
Function: By ED -E3
Channel: ENVELOPE GENERATOR CONTROL
NOISE ENABLE TRUTH TABLE TONE ENABLE TRUTH TABLE to accomplish the generation of complex envelope
R7 Bits Noise Enabled R7 Bits lone Enabled patterns, two independent methods of control are
B5 B4 B2 on Channel 82 81 BO on Channel provided: first, it is possible to vary the
0 0 0 C B A 0 0 0 CBA frequency of the envelope using registers R13 and
0 0 1 C 8 0 0 1 C 8 R14; second, the relative shape and cycle pattern
0 1 0 C A 0 1 0 C A of the envelope can be varied using register R15.
0 1 1 C - 0 1 1 C - the following paragraphs explain the details of the
1 0 0 B A 1 0 0 8 A envelope control functions, describing first the
1 0 1 8 - 1 0 1 8 - envelope period control and then the envelope
1 1 0 A 1 1 0 A shape/cycle control. (See Figure 1 and 2).
1 1 1 -- 1 1 1 ---
I/O PORT TRUTH TABLE
R7 Bits I/O Port Status
B7 B6 I/OB I/0A
0 0 Input Input
0 Input Output
0 Output Input
Output Output
The frequency of the envelope is obtained by first lope Period value. This 16 bit value is obtained
dividing the input clock by 256, then by further by combining the contents of the Envelope Coarse
dividing the result by the programed 16 bit Enve- end Fine Tune registers, es illustrated:
Envelope Envelope
Coarse Tune Fine Tune
Register R14 Register R13
87 86 85 84 83 87 86 85 BA 83 B2
EP15 EP14 1EP13 1 EP12 EP1 1 EP10 1EP9 I CP8 EP7 EP6 EPS EPS_ EP31 EP2 EP1 I EPO
NOTE: If the Coarse end Fine Tune registers are both set to 0008, the resulting period will be minimum,
i.e., the generated tone period will be es if the Coarse Tune register was set to 0008 end the
Fine Tune register set to 0018.
Continue
9
man
a a IV OW
I. 1.
I. 1...110.1.111.00
11 ,N"...
ELECTRICAL CHARACTERISTICS
DC CHARACTERISTICS
Characteristics Sys Kin Tvp" Max Units Conditions
All Input,
Low Level VIL -0.2 - 0.8 V
I/O Poets
Pull Up Current Low 1IL 20 - ZOO yA VIM z 0.4V, Outputs disabled
Pull Up Current Migh 11M 10 - 100 FA VIN z 3.5V
As Outputs (A7 -A0, 87-90)
Low Level VOL 0 - 0.5 V 'IL z 1.6mA
High Level VOHh 3.5 - VCC V 10Hh z -'0+A See
NOTE 1:
The active pull-up during an output operation will up current will reduce significantly and further
achieve a logic 1 of 2.4 volts in a time of edge transition will be highly dependent upon load
typically 1 microsecond. However, from 2.4 volts capacitance.
to the high level of 3.5 volts the available pull
AC CHARACTERISTICS
Clock Input
Frequency fc
1 - 2 141z
Fall Time tf - - 50 ns
Duty Cycle - 40 50 60 %
Bus Signals (8DIR, 8C2, BC1)
Associative Delay Time tRto - - 40 ns
Reset
Reset Pulse Width tRW 500 - - ns Fig. 8
A9, AS, DA7..DA0 (Address Mode)
Address Setup 'ism tAS 300 - - ns
Address Hold Time 65 - ns Fig. 9
tAH
DA7...DA0 (Write Mode)
Write Data Pulse Width tfyw 500 10,000 ns
Write Data Setup Time tDS 300 - - ns Fig. 10
Write Data Hold Time tDH 65 - - ns
DA7...DA0 (Read Mode)
Data Access Time from DTB tDA - - 200 ns Fig. 11
See Note 2
**Typical values are at .25.c and nominal voltages
NOTE 2?
Pull-up recovery time is defined as the time volts. This recovery time is conditional on the
required for any I/O pin A7 -A0 or B7-80 to change output function of Port A or Port B being
up to a 100pf capacitor load from 0.0 volts to 3.5 deselected via Bits B7 and B6 of register R10.
STATE TIMING
While the state flow for many microprocessors can be somewhat involved for certain operations, the
sequence of events necessary to control the PSG is simple and straightforward. Each of the three major
state sequences (Latch Address, Write to PSG, and Read from PSG) consists of several operations (indicated
below by rectangular blocks), defined by the pattern of bus control signals (BDIR, BC1).
The functional operation and relative timing of the PSG control sequences are described in the following
paragraphs.
The Latch Address sequence is normally an integral part of the write or read sequences, but for simplicity
is illustrated here as in individual sequence. Depending upon the processor used, the program sequence
will normally require four principal' microstates: (1) send NACT (inactive); (2) send INTAK (latch
address): (3) put address on bus; (4) send PACT (inactive).
IDIR
//
'Cl
BUS
CONTROL NACT INTAK
0A7-0/0 DON'T
CARE
The Write to PSG sequence, which would normally follow immediately after an address sequence, requires
four principal microstates: (1) send MCI (inactive); (2) put data on bus; (3) send DNS (write to PSC);
(4) send NACT (inactive).
BDIR
BC1
BUS
NACT DVS NACT
CONTROL
As with the Write to PSG sequence, the Read from PSG sequence would also normally follow immediately
after an address sequence. The four principal microstates of the read sequence are: (1) send NACt
(inactive); (2) send DfB (reed from PSG); (3) reed data on bus; (4) send NACT (inactive).
BDIR
8C1
BUS
CONTROL MALT r,1 018 NACT
0A7 -DAD
TIMING DIAGRAMS
Vfl
MIR/
BC1
VIL
tBD
v
iH
BDIR/
BC'
V
IL
a. b.
FIRM H
RESLI
VIL
BUS
CONTROL INACTIVE LATCH INACTIVE
DECODE A ADDRESS
tAM
VIM
A9 AB
DA7-040
V1L
./.1
5Ons MAX, M3DIR Bc1
Including Skew 1 0
BUS
CONTROL INACTIVE READ FROM PSG' INACTIVE
1/
DECODE
rrs 1.411"
40H
DA7 - -DAD PREVIOUS READ VALID DAIA fRISTATE
STATE Jot.
tRA 40H
VOL
°BDIR BC1
BUS CONTROL
SIGNALS CHANGING 0
Description
0o VCC
The pA2240 Programmable Timer/Counter is a monolithic
15
controller capable of producing accurate microsecond to REGULATOR
01
five day time delays. Long delays, up to three years, can OUT
0, Tsa-aAsa
consists of a time -base oscillator, programmable 8 -bit OUT
counter and control flip-flop. An external resistor capacitor 13
RESISTOR/
(RC) network sets the osciNator frequency and allows de- Oi -2 CARACROR IN
lay times from 1 RC to 255 RC to be selected. In the 12
Block Diagram
REGULATOR
COMP 1 OUT
R2 1
aM 161
FLS'ILO MM. y. 2 CONTROL
LOGIC
RESET
TRIGGER IN
Ti OUT Oo 02 ova
TIME DRURY mix.
SASE COUKTER HcomFUP-FLOP
1 0.02411l
RC MOO
11 TRIO
.A2:240 V510 16
Note: Under the conditions of high supply voltages
10
(Vcc > 7.0 V) and low values of timing capac tor
TOO Oa 02 04 Os (CT < 0.1µF), the pulse width of TEI0 may be too narrow
to trigger the counter section. This can be corrected by
14 1 2 3 4 5 6 7 II connecting a 600 pF capacitor from TB() (lead 14) to
ground (lead 9).
VCC Leal 18
GNID Lead 9
CA0200.1f Reset (lead 10) stops the time -base oscillator.
- LEAD 2
The binary counter outputs are buffered open collector
type stages, as shown .n the block diagram. Each output
is capable of sinking 2.0 mA at 0.4 V Vol.. 11 the reset
Ion condition, all the counter outputs are HIGH or in the non-
conducting state. Following a trigger input, the outputs
--a I LEAD 4 change state in accordance with the liming diagram of
h LEAD II
Cl101110,
Figure 2. The counter outputs can be used individually, or
can be connected together in a wired -OR configuration, as
described in the programming segment of this data sheet.
In most timing applications, one or more of the counter Reset and Trigger Inputs (R and TRIG, 10 and 11)
outputs are connected to the reset terminal with S1 The circuit is reset or triggered with positive going control
closed (Figure 3). The circuit starts timing when a trigger pulses applied to leads 10 and 11 respectively. The
is applied and automatically resets itself to complete the threshold level for these controls is approximately two di-
timing cycle when a programmed count is completed. If ode drops (--t, 1.4 V) above ground. Minimum pulse widths
none of the counter outputs are connected back to the for reset and trigger inputs are shown in the Performance
reset terminal (switch S1 open), the circuit operates in an Curves. Once triggered, the circuit is immune to additional
astable or free running mode, following a trigger input. trigger inputs until the end of the timing cycle.
Important Operating Information Modulation and Sync Input (MOD, lead 12)
The oscillator time -base period (T) cal be modulated by
Ground connection is lead 9. applying a DC voltage to MOD, lead 12 (see Performance
Curves). The time -base oscillator can be synchronized to
Reset (R) (lead 10) sets all outputs HIGH an external clock by applying a sync pulse to MOD, lead
12, as shown in Figure 4. Recommended sync pulse
Trigger (TRIG) (lead 11) sets all outputs LOW. widths and amplitudes are also given.
Time -base output (TBO) (lead 14) can be disabled by Figure 4 Operation with External Sync Signal
bringing the RC input (lead 13) LOW via a 1 0 kQ resis- 1.4 1.42.- 0.3 T Tp < T
tor.
The time -base can be synchronized by setting T to be an 4 1.4 V. The counter section can be disabled by clamp-
integer multiple of the sync pulse period (Ts). This can be ing the voltage level at lead 14 to ground.
done by choosing the timing components R and C at lead
13 such that: When using high supply voltages (Vcc > 7.0 V) and a
small value timing capacitor (CT < 0.1 pF), the pulse width
T = RC = (Ts/m) at TBO lead 14 may be too narrow to trigger the counter
secton. This can be corrected by connecting a 600 pF
where: capacitor from lead 14 to ground.
output bus.
20 Courier Output Programming
0 The binary counter outputs, 00... 012e, leads 1 through 8
C
91 I 14
are cpen collector type stages and can be shorted togeth-
er to a common pull-up resistor to form a wired -OR con-
nection; the combined output will be LOW as long as any
to one of the outputs is LOW. The time delays associated
with each counter output can be added together. This is
S
done by simply shorting the outputs together to form a
common output bus as shown in Figure 3. For example, if
only lead 6 is connected to the output and the rest left
2 14 open, the total duration of the timing cycle, To, is 32 T.
Similarly, if leads 1, 5, and 6 are shorted to the output
0
bus, the total time delay is To (1 + 16 + 32) T 49 T. In
0 4 S 1 10 12 this manner, by proper choice of counter terminals con-
RATIO OF TIME -SASE PERIOD TO nected to the output bus, the timing cycle can be pro-
SYNC -PULSE PERIOD - VT.
grammed to be 1 T <To <255 T.
RL
47 to 30 to
TRIGGER
TRIG
RC MOO
111 1610
RC
vA2240 r2
MOO
Vnao
RESET
7S0 0o 00 0.
'..121°04 ON" 0420m VC::
OUT
$6 MO
VCC Lead 18
ONO Lud 9
CWOTOSOF
Astable Operation
The pA2240 can be operated in its astable or free running
mode by disconnecting the reset terminal (lead 10) from
the counter outputs. Two typical circuits are shown in Fig-
Figure 9 Free Running or
ures 8 and 9. The circuit in Figure 8 operates in its free
Continuous Operation (Note 1)
running mode with external trigger and reset signals. It
starts counting and timing following a trigger input until an dcc 40.0 vcc
31.4-04.-5T ZIT
LEADS 1, 3, AND 5 SHORTED
C.4 LEAD PATTERN
Note
I Vcc Lead 16
3T [A4-40- 57 4+-410---Z1T +T I 5T -471'.--"T GND Lead 9
Figure 7 Cascaded Operation for Long Delays
vcc vcc vcc
RL
10 50
RC MOD
TRIGGER TRIG
.A2240 1 Vraga
RESET OUT
vec lead 16 TO
GND Lead 9
Figure 11 Continuous Free run Operation Examples of Output Typical Performance Curves
vcc 'cc Supply Current vs
Supply Voltage In Reset Condition
IS
1 12
0
0 2 4 0 10 12 14 10
rYYrrYOYYMPiell
S 10
RC WAVEFORM SUPPLY VOLTAGE -V
1.031C01,
T1MIESASE OUTPUT
I I 1 1 1 1 1 1 1 1 I I I 1
0. OUTPUT
Minimum Trigger Pulse Width vs
Trigger and Reset Amplitude
20
2/3C
I 2.5
2_0
mmc
1110 00 0, 0. 0. 0..0.
Yne0 15
75C
VC
-
iviiii 10
to 15 20 2.5
TRIGGER OR RESET AMPLITUDE -V
3.0
VU 5 V
-210 RC /
...1
as
RC -H
2 3 1 5
Vc, Lew
GNO Coal 9
16 _J L MOOULA71044 VOLTAGE -V
V00 5 V
C 0.10
10 14
2.0 10
C
100 K
, .- .
O to
*
S C 01,,
a 10 u11
V
re V R 1 Id)
10 1.0
II 10 MO
10 K 10 20
1
Electrical Characteristics TA 25°C, Vcc - 5.0 V, R - 10 kS2, C - 0.1 µF, unless otherwise speci9ed.
Symbol Characteristic Condition Min Typ Max Unit
General Claracteristic
Vcc Supply Voltage For Vcc <4.5 V, Short Lead 15 to 4.0 15 V
Lead 16
Icc Supply Total Circuit Vcc - 5.0 V, VTR -0 V, VRs - 5.0 V 4.0 7.0 mA
Current
Vcc - 15 V, VTR -0 V, VRs 5.0 V 13 18
At/AT Temperature Drift 0°C < Tj 75°C Vcc - 5.0 V 200 ppm/°C
Voc - 15 V 80
At/ AV Supply Drift Vcc 8.0 V (See Performance Curves) 0.08 0.3 %/V
thtax Max Frequency R - 1.0 kS2, C = 0.007 µF 130 kHz
Vuoo Modulation Voltage Level Measured at Lead 12 Vcc - 5.0 V 2.80 3.50 4.20 V
Vez = 15 V 10.5
Electrical Characteristics TA 25°C, Vcc - 5.0 V, R 10 kS2, C - 0.1 uF, unless otherwise spected
Symbol Characteristic Condition Min Typ Max Unit
CT Timing Capacitor 0.01 1)00 µF
Trigger/Reset Controls
VTR Trigger Threshold Measured at Lead 11, VRS 0V 1.4 2.0 V
ZR Reset Impedance 25 ka
tRSPT Reset Response Time2 0.8 As
Counter
TRp Max Toggle Rate Measured at Lead 14 1.5 MHz
VRS -0 V, VTR 5.0 V
Z1 Input Impedance 20 kit
VTR Input Threshold 1.0 1.4 V
Notes
1 Timing error solely introduced by µA2240 measured as of ideal rime -base period of T=RC.
2 Propagation delay from application of trigger (or reset) input to col respond,ng change of state in counter output at lead 1
16 V
VCc
R10 kA C 0.1
10
Vcc IS If / /
//
I
1 Id/
1.0
I
01
/ occ.6.1
MIMMUM TRIGGER DELAY
10 Mn
A TIME SUSSEGLIENT TO
,/ APPLICATION OF POWER
MINIMUM RETRIGGER
1 Mn
Mn S TIME {uRREOIJERT TO A
RESET INPUT
0.01
10 100 m 1.1 ma 10 ma 100 ow 1.0 s 10 . 100 0 0.1 1.3 10 100 23 SO /5 100
TIME EASE PER100 TIMING CAPACITOR - TEMPERATURE - C
PON. C.,