The Contek MC34018 speaker-phone integrated circuit
incorporates the necessary functions to produce a high quality
hands-free speaker-phone system. The applications include
household and office speaker-phones, intercom systems,
hand free kit for mobile phones, and others.
FEATURES
*All necessary level detection and attenuation controls for a
hand-free telephone included.
*Background noise level monitoring with long time constant.
*Background sound level compensation for transmit and
receive levels as well as the background level.
*Wide operating dynamic range through signal compression.
*On-chip voltage regulators illuminate external regulators for
ohms)with peak limiting for speaker to minimize distortion.
*Chip Select pin for active/stand by operation.
*Volume control function for external volume control.
*Standard 28-pin plastic DIP and SOP package.
ABSOLUTE MAXIMUM RATINGS(Ta=25 C,Voltages referred to pin 22)
1RRA resistor to ground provides a reference current for the transmit and receive attenuators
2RTX A resistor to ground determines the nominal gain of the transmit attenuator ,the transmit channel gain
3TXIInput to the transmit attenuator. Input resistance is nominally 5.0k ohms.
4TXO Output of the transmit attenuator. The TXO output signal drivers the input of transmit level detcetor, as
5TLIInput of the transmit level detector. An external resistor ac coupled to The TLI pin sets the detection
6TLO Output of the transmit level detector. The external resistor and capacitor set the time the comparator
7RLIInput of the receive level detector. An external resistor ac coupled to The RLI pin sets the detection
8RLO Output of the receive level detector. The external resistor and capacitor set the time the comparator
9MCIMicrophone amplifier input. Input impedance is nominally 10k ohms and the dc bias voltage is
10MCO Microphone amplifier output. The MIC amp gain is internally set at 34dB(50V/V).
11CP1 A parallel resistor and capacitor connected between this pin and VCC holds a voltage corresponding
12CP2 A capacitor at this pin peak detects the speech signals for comparison with the background noise level
13XDIInput to the transmit detector system. The microphone amplifier output is ac coupled to the XDI pin
is inversely proportional to RTX resistance.
well as the external circuit which drivers the telephone line.
level. Decreasing this resistor increases the sensitivity to transmit channel signals.
will hold the system in the transmit mode after speech ceases.
level. Decreasing this resistor increases the sensitivity to receive channel signals.
will hold the system in the receive mode after speech ceases.
approximately equal to VB
to the background noise level. The transmit detector compares the CP1 voltage with the speech signal
from CP2.
14SKG High current ground pin for the speaker amplifier output stage. The SKG voltage should be within
10mV of the ground voltage at pin 22.
15SKO Speaker amplifier output. The SKO pin will source and sink up to 100mA when ac coupled to the
speaker. The speaker amplifier gain is internally set at 34dB(50V/V).
16V+Input DC supply voltage. V+ can be powered from Tip and Ring if an ac decoupling inductor is used to
prevent loading ac line signals. The required V+ voltage is 6.0V to 11V(7.5V nominal ) at 7.0mA.
17AGC A capacitor from this pin to VB stabilizes the speaker amplifier gain control loop, and additionally
controls the attack and decay time of this circuit. The gain control loop limits the speaker amplifier
input to prevent clipping at SKO. The internal resistance at AGC pin is nominally 110k ohms.
CS
18
19SKIInput to the speaker amplifier. Input impedance is nominally 20k ohms.
20VCC A 5.4V regulated output which powers all circuits except the speaker amplifier output stage. VCC can
21VBAn output voltage equal to approximately VCC/2 which series as an analog ground for the
22GND Ground pin for the IC(except the speaker amplifier)
23XDC Transmit detector output. A resistor and capacitor at his pin hold the system in the transmit mode
24VLC Volume control input>connecting this pin to the slider of a variable resistor provides receive mode
25ACF Attenuator control filter. A capacitor connected to this pin reduces noise transient as the attenuator
26RXO Output of the receive attenuator. Normally this pin is ac coupled to the input of the speaker amplifier.
27RXIInput of the receive attenuator. Input impedance is nominally is 5.0k ohms.
28RRX A resistor to ground determines the nominal gain of the receive attenuator. The receive channel gain
Digital chip select input. When at a logic "0" (<0.7V) the VCC regulator is enabled. When at a logic "1"
(>1.6V),the chip is in the standby mode drawing 0.5mA.An open
is nominally 140k ohms. The input voltage should not exceed 11V.
be used to power external circuitry such as a microprocessor(3.0mA max.) A filter capacitor is
required.TheContek MC34018 can be powered by a separate regulated supply by connecting V+ and
VCC to a voltage between 4.5V and 6.5V while maintaining
speakerphone system. Up to 1.5mA of external load current may be sourced from VB. Output
impedance is 250 ohms. A filter capacitor is required.
during pauses between words or phrases. When the XDC pin voltage decays to ground, the
attenuators switch from the transmit mode to idle mode. The internal resistor at XDC is nominally 2.6k
ohms(see fig.1).
volume control. The VLC pin voltage should be less than or equal to VB.
LOGAMPS
RLO Leakage Current
(Pin 8 = VB+1.0V)
TLO Leakage Current
(Pin 6 = VB+1.0V)
Transmit-Receive Switching
Threshold (Ratio of I
20mA - to Switch Tx-Rx
Comparator)
TRANSMIT DETECTOR
XDC Voltage
Idle Mode
Tx Mode
CP2 Current SourceICP25.01013mA
Distortion
Rx Mode
RXI to SKO
(pin 27 = 10mVrms,1KHz)
Tx Mode
MCI to TXO
(Pin 9 = 5mVrms,1KHz)
Note 1:V+=7.5V,CS=0.7V except where noted.
Note 2:Rx mode:pin7=-100mA,pin5=+100mA, except where noted.
Idle mode: Pin 5=-100mA, pin 7,13=+100mA.
Note 3:Current into a pin designed as + ,current out of a pin designed -;
Note 4:Voltage referred to pin 22,Tamb=25 C.
V+ Supply Current ( V+ 11V,Pin 18 = 0.7V )16-0.2%/ C
V+ Supply Current(V+ 11V,Pin 18 = 1.6V )16-0.4%/ C
VCC Voltage( V+ = 7.5V )20+0.1%/ C
Attenuator Gain ( Max and Min Setting )+-0.003dB/ C
Delta RXO,TXO Voltage4,26+-0.24%/ C
Speaker AMP Gain15,19+-0.001dB/ C
Microphone AMP Gain9,10+-0.4dB/ C
Microphone Amp Input Resistance9+0.4%/ C
Tx-Rx Switching Threshold (20mA)5,7+-0.2nA/ C
DESIGN GUIDELINES(REF TO FIG. 1)
ATTENUATORS
The transmit and receive attenutors are complementary in function, i.e., when one is at maximum gain the other
is at maximum attenuator, and vice versa. They are never both on or both off. Their main purpose is to control the
transmit and receive paths to provide the half- duplx operation required of a speaker-phone. The attenuators are
controlled solely by the voltage at the ACF pin(pin 25).The ACF voltage is provided by the attenuator control block,
which receives 3 inputs: a) the Rx-Tx comparator, b) the transmit detector comparator, and c)the volume control. The
response of the attenuators is based on the difference of the ACF voltage from VCC, and therefore a simple method
for monitoring the circuit operation is to monitor this voltage difference(referred to as DVacf).If DVacf is approximately
150 millivolts the circuit is in the receive mode. If DVacf is approximately 75 millivolts the circuit is in the idle mode,
and two attenuators are at gain setting approximately half way(in dB) between their fully on and fully off positions.
The maximum gain and attenuation values are determined by the three resistorsRR,RTX,RRX(referred to
Fig2,3,4).RR affects both attenuators according to its value RELATIVE to RTX and RRX, which is why Fig 4 indicates
the variations versus the ratio of the other resistors to RR.( GRX and GTX are the maximum gains, and ARX and ATX
are maximum attenuations).RTX affects the gain and attentuator according to Fig 3.As can be seen
from the figures, the gain difference(from on to off) is a reasonably constant 45dB until the upper gain limit is
approached. A value of 30K is recommended for RR as a starting point, and then RTX and RRX selected to suit the
particular design goals.
The input impedance of theattenuators (at TXI and RXI) is typically 5.0k ohms, and the maximum input signal
which will not cause output distortion is 250mVrms(707mVp-p).The 4300 ohms resistor and 0.01 mCapacitor at
RXO(in fig 1)filters out high frequency components in the receive path. This helps minimize high frequency acoustic
feedback problems which may occur if the filter were not present. The filter's insertion loss is a 1.5dB at
1.0kHz.The outputs of the attenuators are inverted from their inputs.
Referring to theattenuator control block, the DVacf voltage at its output is determined by three inputs. The
relationship of the inputs and outputs is summarized in the following truth table.
As can be seen from the truth table, theTx-Rx comparator dominates. The transmit detector comparator is
effective only in the receive mode.
TheTx-Rx comparator is in the transmit position when there is sufficient transmit signal present over and
above any receive signal. The transmit detector comparator then determined whether the transmit signal is a result of
background noise(1 relatively stable signal),or speech which consists ofbursts.If the signal is due to background
noise, the attenuators will be put into the idle mode( DVacf=75mV).If the signal consists of speech, the attenuator will
be switched to the transmit mode( DVacf=6.0mV).A further explanation of this function will be found in the section on
the transmit detector circuit.
The Rx- Tx Comparator is in the receive position when there is sufficient receive signal to overcome the
background noise AND any speech signals. The DVacf voltage will now be 150mV IF the volume control is at the
maximum position, i.e. VLC(pin 24)=VB. If VLC is less than Vb, the gain of the receive attenuator, will vary in a
complementary manner as shown in fig 5.It can be seen that at the minimum recommended operating
level(VLC=0.55VB) the gain of the transmit atternuator is actually greater than that of the receiveattenuator. The
effect of varying VLC is to vary DVacf, with a resulting variation in the gains of the attenuators, Fig 6 shows the
gain variation with DVacf.
The capacitor at ACF(pin 25) smoothes the transition between operating modes. This keeps down any "clicks" in
the speaker or transmit signal when the ACF voltage switches.
The gain separation of the twoattenuators can be reduced from the typical 45dB by adding a resistor between
pin 20(VCC) and pin 25( ACF).The effect is a reduction of the maximum DVacf voltage in receive mode, while not
affecting DVacf in the transmit mode. as an example, adding a 12 k ohms resistor will reduce DVacf by approximately
15mV(to 135mV).decrease the gain of the receive attenuator by approximately 5.0dB, and increase the gain of the
transmit attenuator by a similar amount. If the circuit requires the receive attenuator gain to be +6.0dB in the receive
mode, RRX must be adjusted (to 27k ohms) to re-establish this value. This change will also increasethe receive
attenuator gain in the transmit mode by a similar amount. The resistor at TLI may also require
changing to reset the sensitivity of the thansmit level detector.
VOLUME
CONTROL
DVACFMODE
LOG AMPLIFIERS(Transmit and Receive level Detectors)
The logs amps monitor the levels of tharsmit and receive signal, so as to tell the Tx-Rx comparator which mode
should be in effect. The input signals are applied to the amplifiers(at TLI and RLI) through AC coupling capacitors and
current limiting resistors. The value of these components determines the sensitivity of the respectiveamplifiers ,and
has an effect on the switching times between transmit and receive modes. The feedback elements for the amplifier
are back-to-back diodes which provide a logarithmic gain curve, thus allowing operation over a wide range of signal
levels. The outputs of the amplifiers are rectified, having a quick rise time and a slow decay time. The rise time is
determined by the external resistor and capacitor, and is on the order of a fraction of a second. The switching time is
not fixed, but depends on relative values of the transmit and receive signals, as well as these external components.
Fig 7 indicates the DC transfer characteristics of the log amps, and Fig 8 indicates the transfer characteristics with
respect to an AC input signal the DC level at TLI,RLI,TLO, and RLO
is approximately VB.
TheTx-Rx comparator responds to the voltages at TLO and RLO, which in turn are functions of the currents
sourced out of TLI and RLI, respectively. If an offset at the comparator input is desired, e.g. to prevent noise from
switching the system, or to give preference to either the transmit or receive channel, this may be achieved by biasing
the appropriate input(TLI or RLI).A resistor to ground will cause a DC current to flow out of that input, thus forcing the
output of that amplifier to be biased slightly higher than normal. This amplifier then becomes the preferred one in the
system operation. Resistor values from 500k to 10M ohms are recommended for this purpose.
SPEAKER AMPLIFIER
The speaker amplifier has a fixed gain of 34dB(50V/V),and is noninverting. The input impedance is nominally
22 k ohms as long as the output signal is below that required to activate the peaklimiter. The Fig 9 indicates the
typical output swing available at SKO(pin 15).Since the output current capability is 100mA,the lower curve is limited to
1 5.0Volt swing. The output impedance depends on the output signal level and is a relatively low as long as the signal
level is not near maximum limits. At 3 Vp-p the output impedance is less than 0.5 ohms, and at 4.5Vp-p it is less than
3 ohms. The output is short circuit protected at approximately 300 mA.
When the amplifier is over driven, the peaklimiter causes a portion of the input signal to be shunted to ground,
in order to maintain a constant output level. The effect is that of a gain reduction caused by a reduction of the input
impedance (at SKI) to a value not less than 2.0k ohms.
The capacitor at pin 17(AGF) determines the response time of the peaklimiter circuit. When a large input
signal is applied to SKI, the voltage at AGC(pin 17) will drop quickly as a current source is applied to the external
capacitor. When the large input signal is reduced, the current source is turned off, and an internal 110k ohms resistor
discharges the capacitor so that the voltage at AGC can return toots normal value(1.9Vdc).The capacitor additionally
stabilizes the peak limiting feedback loop.
If there is a need to mute the speaker amplifier without disabling the rest of the circuit, this may be
accomplished by connecting a resistor from the AGC pin to GND.A 100k ohms resistor will reduce the gain by 34dB
(0dB from SKI To SKO), and a 10k ohms resistor will reduce the gain by almost 50dB.
TRANSMIT DETECTOR CIRCUIT
The transmit detector circuit, also known as the background noise monitor, distinguishesspeech(which consists
of bursts) from the background noise( a relatively constant signal).It does this by storing a voltage level,
representative of the average background noise, in the capacitor at CP1(pin 11).The resistor and capacitor at this pin
have a time constant approximately 5 second(in fig 1).The voltage at pin 1 is applied to the inverting input of the
transmit detector comparator. In the absence of speech signal, the noninverting input receiving the same as voltage
level minus an offset of 36mV.In this condition, the output transistor turned off, and the voltage at XDC(pin 23) will be
at GND. If the Tx-Rx comparator is in the transmit position, the attenuators will be in the idle mode(DVacf=75mV).
When speech is presented to the microphone, the signal burst appearing at XDI reaches the noninverting input of the
transmit detector comparator before the voltage at the inverting input can change, causing the output to switch high,
driving the voltage ad XDC up to approximately 4Volts.This high level causes the attenuator control block to switch
the attenuators from the idle mode to the transmit mode(assuming the Tx-Rx comparator is in the transmit mode).As
long as the speech continues to arrive, and is maintained at a level above the background, the voltage at XDC will be
maintained at a high level, and the circuit will remain in transmit mode. The time constant of the components atXDc
will determine how much time the circuit requires to return to the idle mode after the cessation of microphone speech
signals, such as occurs during the normal pauses in speech.
The series resistor and capacitor axXDI(pin 13) determine the sensitivity of the transmit detector circuit. Fig 10
indicates the change in DC voltage levels at CP2 and CP1 in response to a steady state sine wave applied at the
input of 0.068mF capacitor and 4700 ohms resistor( the voltage change at CP1 is 2.7 times greater than the change
at P2).Increasing the resistor, or lowing the capacitor, will reduce the response at these pins. The first
amplifier(between XDI and CP2) is logarithmic in order that this circuit be able to handle a wide range of signal
levels(or in other words, it responds equally well to people who talk quietly and to people who shout).Fig 7 indicates
the DC transfer characteristic of the log amp.
Fig 11 indicates the response at Pins 11,12, and 23 to a varying signal at the microphone. The series of events
in Fig 11 is as follows:
1) CP2 follows the peaks of speech signals, and decays at a rate determined by the 10 mA current source and
the capacitor at this pin.
2) CP1 increases at a rate determined by the RC at this pin after CP2 has made a positive transition. It will follow
the decay pattern of CP2.
3) The noninverting input of the transmit detector comparator follows CP2, gained up by 2.7, and reduced by an
offset of 36mV.This voltage, compared to CP1, determines the output of the comparator.
4) XDC will rise quickly to 4Vdc in response to a positive transition at CP2, but will decay at a rate determined by
the RC at this pin. When XDC is above 3.25Vdc, the circuit will be in transmit mode. As it decays towards
GND, the attenuators are taken to the idle mode.
MICROPHONE AMPLIFIER
The microphone amplifier isnoninverting, has an internal gain of 34db(50V/V), and a nominal input impedance
of 10k ohm. The output impedance is typically less than 15 ohms. The maximum p-p voltage swing available at the
output is approximately more than what is required in most applications. The input at MCI should be AC coupled to
the microphone so as to not upset the bias voltage. Generally, microphone sensitivity may be adjusted by varying the
2K microphone bias resistor, rather than by attempting to vary the gain of the amplifier.
POWER SUPPLY
The voltage supply for the Contek MC34018 at V+ should be in the range of 6.0 to 11 Volts, although the circuit will
operate down to 4.0Volts>the voltage can be supplied either from TIP and RING, or from a separate supply. The
required supply current, with no signal to the speaker, is shown in Fig 11. The upper curve indicates the normal
operating current when
power levels to a 25 ohms speaker. Fig 13 also indicates the minimum supply voltage requiredto provide the
indicated power levels. The peak in power supply current at 5.0-5.0 volts occurs as theVCC circuit comes into
regulation.
It is imperative that the V+ supply be a good ACGND for stability reasons. If this pin is not well filtered( by a
1000 Fcapacitor at the IC), any variation at V+ caused by the required speaker current flowing through this pin can
cause a low frequency oscillation. The result is usually that the circuit will cut the speaker signal on and off at the rate
of a few hertz. Experiments have shown that only a few inches of wire between the capacitoris not physically
adjacent to the IC. It is equally imperative that both groundpins(pin 14 and 22) have a low loss connection to the
power supply ground.
CS
is at a logic "0" .Fig 13 indicates the average Dc current required when supplying various
VCC
VCC is a regulated output voltage of 5.4+-0.5 volts. Regulation will be maintained as long as V+ is typically 80
mV greater than the regulated value of VCC. Up to 3 milliamps can be sourced from this supply for external use. The
output impedance is less than 20 ohms.
The 47mF capacitor indicated for connection to pin 20 is essential for stability reasons, It must be located
adjacent to the IC.
If the circuit is deselected (see section on chip select), theVCC voltage will go to 0 volts.
If Contek MC34018 is to be powered from a regulated supply ( not the Tip and Ring lines) of less than 6.5 volts,
the configuration of Fig 14 may be used so as to ensure to that VCC is regulated<the regulated voltage is applied to
both V+ and VCC, with
available when the circuit is used in this manner).Fig 15 indicates the supply current used by the configuration, with
no signal at the speaker. When a signal is sent to the speaker, the curves of Fig 13 apply.
CS
held at a logic "1" so as to turn off the internal regulator( the Chip Select function is not
VB is a regulated output voltage with a nominal value of 2.9 +-0.4volts.It is derived fromVCC and tracks it,
holding a value of approximately 54% of VCC.1.5milliamps can be sourced from this supply at a typical output
impedance of 250 ohms.
The 47 mF capacitor indicated for connection to the VB pin is required for stability reasons, and must be adjacent
to the IC.
If the circuit isdeselected(see section on Chip Select), the VB voltage will go to 0 Volts.
CHIP SELECT
range of 1.6V to 11V deselects the chip and the resulting supply current (at V+) is shown in Fig 12.The input
resistance at pin
deselected. Leaving Pin 18 open is equivalent to a logic "0"(chip enabled).
SWITCH TIME
operating condition of the circuit at the time a change os taken effect. For example, the switching time form idle to
transmit is generally quicker than the switching time from receive to transmit(or transmit to receive).
at pins 5 (transmit turn-on) ,6(transmit turn-off),7(receive turn -on),8(receive turn off).These four timing functions are
not independent, but interact since the Tx-Rx comparator operates on a relative Tx-Rx comparison, rather than on
absolute value. The components at pins 11,12,13,23 affect the timing from the transmit mode to the idle mode. Timing
from the idle mode to transmit mode is relatively quick(due to the quick charging of the various capacitors),and is not
greatly affected by the component values. Pin 5-8 do not affect the idle to transmit timing
since the Tx-Rx comparator must already be in the transmit mode for this to occur.
including the volume control:
CS
The
The switchtime of the speakerphone circuit depend not only the various external components, but also on the
The components which most significantly affect the timing between the transmit and receive modes are those
The following table provides a summary of the effect on the switching time of the various components,
pin allows the chip to be powered down anytime its functions are not required. A logic "1" level in the
CS
is greater than 75 k ohms. The VCC and VB regulated voltage go to 0 volts when the chip is
1) RCs at pin 5 and 7 have a dual function in that they affect the sensitivity of the respective log amplifiers, or in
other words, how loud the speech must be in order to gain control of the speaker phone circuits.
2) The RC at pin 13 also has a dual function in that it determines the sensitivity of the transmit detector circuit.
3) The volume control affects the switching speed, and the relative response to the transmit signals, in following
manner: when the circuit is in the receive mode, reducing the volume control setting increases the signal at
TXO, and consequently the signal to the TLI pin. Therefore a given signal at TXI will switch the circuit into the
transmit mode quicker at low volume settings.
All of the above mentioned times will change significantly by varying the amplitude of the input signals, as well
as by varying the external components.
APPLICATIONS INFORMATION
The Contek MC34018 speakerphone IC is designed to provide the function additionally required when a
speakerphone is added to a standard telephone. The IC provides the necessary relative level detection and
comparison of the speech signals provided by the talkers at the speakerphone(near end speaker) and at the distant
telephone(far end speaker).
The Contek MC34018 is designed for use with an electorate type microphone a 25 ohms speaker, and has an
output power capability of 100mW.All external components surrounding this device are passive, however, this IC
does require additional circuitry to interface the TIp and Ring telephone lines. Two suggested circuits are shown in the
data sheet.
Fig 16 depicts aconfiguration which does not include a handset, dialer, or ringer. The only controls areS1(to
make the connection to the line),S2(a "privacy" switch),and the volume control. It is meant to be used in parallel with a
normal telephone which has dialing and ringing functions.
Fig 17 depicts a means of providing logic level signal that indicate which mode of operation the Contek MC34018
is in. Comparator A indicates whether the circuit is in receive or transmit mode and comparator B indicates(when in
transmit/idle mode) whether the circuit is in the transmit or idle mode. The Contek LM393 dual comparator is chosen
because of its low current requirement (<1.0mA), low voltage requirement (as low as 2.0volts), and low cost.