M65845AFP: Digital Echo With Microphone Mixing Circuit

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

M65845AFP

Digital Echo with Microphone Mixing Circuit


REJ03F0170-0200
Rev.2.00
Jun 14, 2006

Description
The M65845AFP is a CMOS IC built-in digital echo function with microphone peripheral circuits for Karaoke
equipment packed in a single chip.
It is suitable for Karaoke equipments such as video CD player, mini stereo, CD-radio cassette, TV or VCR.
Being pin compatible with the M65845FP, the M65845AFP is suitable for upgrading the series.

Features
• High performance digital echo circuit thanks to 16 Kbit memory
• Two microphone-mixing lines, vocal cut circuit, digital echo, and line-mixing amplifier are contained, enabling
single-chip package of microphone peripheral circuit of Karaoke equipment.
• ALC-equipped microphone amplifiers permit excessively high-input. ALC operating voltage can be set as desired.
• Vocal cut circuit of complete stereo construction
• Compatibility with the M65845FP
• Built-in current-control oscillation circuit
• Built-in automatic reset circuit activated with poser on
• Signal power supply (5 V)

Recommended Operating Condition


• Supply voltage range: VCC = 4.5 V to 5.5 V
• Rated supply voltage: VCC = 5 V

System Configuration
AUDIO SW

Lch
INPUT
Source
selector MIX
Lch
L OUTPUT
R

Vocal
cut

MIX
Rch
Rch
INPUT
ALC OUTPUT

MIC SW
MIC1 MIC VOL MIX MIX
Digital
ALC echo

MIC2 MIC VOL Echo VOL

Rev.2.00 Jun 14, 2006 page 1 of 13


M65845AFP

AUDSW1 AUDSW2 VCFIL CLOCK CONT REF VCC GND


Block Diagram

33 34 36 32 17 19 18

Lin 27 29 Lout
Audio source
Rin 26 control 28 Rout

Rev.2.00 Jun 14, 2006 page 2 of 13


VALL 35 1/2VCC
MIC1IN 1 31 MIC SW
MIC1NFIN 3
Clock
MIC1OUT 4 generator 16 k RAM
30 MICECHO
ALC OUT
ALC1 2
MIC1VOLIN 5

MIC2IN 6 Logic
MIC2NFIN 8 REF LPF1 REF
MIC2OUT 9
LPF2
ALC A/D D/A
ALC2 7
MIC2VOLIN 10
11 12 13 16 14 15 20 21 22 23 24 25
MIC LPF1 LPF1 ADINT DA DAINT LPF2OUT
OUT IN OUT IN CONT OUT LPF2IN ECHOVOLIN
AD ADINT DAINT
CONT OUT IN
M65845AFP

Pin Arrangement
M65845AFP

MIC1IN 1 36 VCFIL
ALC1 2 35 VALC
MIC1NFIN 3 34 AUDSW2
MIC1OUT 4 33 AUDSW1
MIC1VOLIN 5 32 CLOCK CONT
MIC2IN 6 31 MICSW
ALC2 7 30 MICECHOOUT
MIC2NFIN 8 29 LLINEOUT
MIC2OUT 9 28 RLINEOUT
MIC2VOLIN 10 27 LLINEIN
MICOUT 11 26 RLINEIN
LPF1 IN 12 25 ECHOVOLIN
LPF1 OUT 13 24 LPF2 OUT
ADINTIN 14 23 LPF2 IN
ADINTOUT 15 22 DAINTOUT
ADCONT 16 21 DAINTIN
REF 17 20 DACONT
GND 18 19 VCC

(Top view)
Outline: PRSP0036GA-A (36P2R-A)

Rev.2.00 Jun 14, 2006 page 3 of 13


M65845AFP

Pin Description
Pin
No. Symbol Pin Name Function
1 MIC1IN MIC1 input Connect MIC1
2 ALC1 ALC1 control Connect C which determine recovery time
3 MIC1NFIN MIC1 NF input Set up MIC1 amp gain for feedback circuit
4 MIC1OUT MIC1 output
5 MIC1VOLIN MIC1 volume input Connect microphone volume which turn down input signal
6 MIC2IN MIC2 input Connect MIC2
7 ALC2 ALC2 control Connect C which determine ALC attack, recovery time
8 MIC2NFIN MIC2 NF input Forms MIC2 amp gain with feedback
9 MIC2OUT MIC2 output
10 MIC2VOLIN MIC2 volume input Connect microphone volume which turn down input signal
11 MICOUT MIC output Mixing output with MIC1 and MIC2
12 LPF1 IN Low pass filter 1 input Forms the front low pass filter with external CR for digital echo
13 LPF1 OUT Low pass filter 1 output
14 ADINTIN A/D integral input Forms integrator with external C and R
15 ADINTOUT A/D integral output
16 ADCONT A/D control ADM A/D adaptive control
17 REF Reference 1/2 VCC, connect filter C
18 GND GND
19 VCC Power supply
20 DACONT D/A control ADM A/D adaptive control
21 DAINTIN D/A integral input Forms integrator with external C
22 DAINTOUT D/A integral output
23 LPF2 IN Low pass filter 2 input Forms post low pass filter with external CR for digital echo
24 LPF2 OUT Low pass filter 2 output
25 ECHOVOLIN Echo volume input Connect microphone volume with turn down input signal
26 RLINEIN Rch line input
27 LLINEIN Lch line input
28 RLINEOUT Rch line output Mixing output with line and microphone
29 LLINEOUT Lch line output
30 MICECHOOUT MIC echo output Mixing output with microphone and echo
31 MICSW MIC SW L: Microphone OFF, H: Microphone ON
32 CLOCK CONT Clock control Controls built-in clock generation circuit with external R
33 AUDSW1 Audio SW1 Changing source sound signal
34 AUDSW2 Audio SW2
35 VALC ALC supply voltage Form ALC operation voltage with control voltage
control
36 VCFIL Vocal cut filter Through frequency under vocal level

Rev.2.00 Jun 14, 2006 page 4 of 13


M65845AFP

Absolute Maximum Ratings


(Ta = 25°C, unless otherwise noted)
Item Symbol Rations Unit Conditions
Supply voltage VCC 6.0 V
Circuit current ICC 85 mA
Input voltage Vi –0.3 to VCC + 0.3 V
Power dissipation Pd 860 mW
Operating temperature Topr –20 to +75 °C
Storage temperature Tstg –40 to +125 °C

Recommended Operating Condition


Limits
Item Symbol Min Typ Max Unit Conditions
Supply voltage VCC 4.5 5 5.5 V
L input voltage VIL 0 — 1 V Pin 33, 34
H input voltage VIH 4 — VCC V

Electrical Characteristics
(VCC = 5 V, f = 1 kHz, Vi = 100mVrms, fck = 2 MHz, Ta = 25°C, unless otherwise noted)
Limits
Item Symbol Min Typ Max Unit Conditions
Total Circuit current ICC 25 34 70 mA No signal
Microphone Voltage gain GVO 44 47 50 dB Vo = –17 dBV
amplifier Distortion 1 THD1 — 0.5 1.5 % Vo = –17 dBV, without ALC
Distortion 2 THD2 — 3.0 6.0 % Vi = –27 dBV, ALC operate
ALC voltage VoALC –3 0 +3 dB at –10 to +3 dBV
ALC attack time TALCAT 25 40 55 ms at C = 4.7 µF
ALC recovery time TALCRE 1.0 1.5 2.0 s at C = 4.7 µF
Maximum output voltage VoMAX –1 2 — dBV THD = 10%
Noise voltage No — –68 –57 dBV GV = 47 dB, JIS-A, VI = 0 Vrms
Input impedance Zi 5 10 20 kΩ
Echo Delay time Td 167 197 226 ms RC = 51 kΩ
Voltage gain Gv –3 0 +3 dB
Distortion THD — 2.0 4.0 %
Maximum output voltage VoMAX –3 +1 — dBV THD = 10%
Noise voltage No — –82 –67 dBV JIS–A
Line Voltage gain Gv –3 0 +3 dB
Distortion THD — 0.02 0.1 %
Maximum output voltage VoMAX 1 4 — dBV THD = 10%
Noise voltage No — –97 –88 dBV JIS-A, MICSW = OFF
Input impedance Zi 10 20 40 kΩ
Vocal cut Noise voltage No — –95 –72 dBV JIS-A, Vocal cut ON
Voltage gain Gv –3 0 +3 dB Input one side channel
Maximum output voltage VoMAX 1 4 — dBV THD = 10%
Vocal rejection ratio GREJ 14 18 — dB

Rev.2.00 Jun 14, 2006 page 5 of 13


M65845AFP

Function Description
Microphone Amplifier
The gain (GV) and low cut-off frequency (fcl) of microphone amplifier are expressed as follows.
R1 + 1.5 k + 334 k 1
GV = 20log • fcl =
R1 + 1.5 k 2π • (R1 + 1.5 k) • C1

GV (max) = 47 dB, fcl = 50 Hz


R1 = 0 Ω, C1 = 2.2 µF
Assuming GV = 37 dB, fcl = 15 Hz, for instance, the constants take the following values.
R1 = 3.3 kΩ, C1 = 2.2 µF

REF

10 kΩ (Typ)

+
MIC 2 +
1 µF –
5 kΩ 334 kΩ

1.5 kΩ

3 4

R1
+
C1

<Attention point when M65845FP is replaced with M65845AFP>


R3 and C4 are required for the M65845FP, not for the M65845AFP. As mentioned above, the gain of microphone
amplifier can set it up with R1.

REF

10 kΩ (Typ)
+

MIC 2 +
1 µF –
R2
3 4
C4

R3 and C4 are not required for R3


the M65845AFP.

R1 for the gain of microphone R1


amplifier setting in use M65845AFP. C1
+

Recommended circuit in use M65845FP

Rev.2.00 Jun 14, 2006 page 6 of 13


M65845AFP

ALC Level Block Diagram

Vo (dBV)
10
ALC supply voltage control limits

+3
0

–10

–20 It is set 47 dB for microphone amplifier gain.

–30

–60 –50 –40 –30 –20 –10

Vi (dBV)

ALC Operation Voltage Control


ALC operation voltage can be formed within the limits of –10 to +3 dBV controlled by DC control voltage which
connect pin 35.
(Setting up forms)

1
2.5 V ( V )
2 CC
internal direct bias

half peak
voltage Vpo 35 pin control voltage VALC
0V
1
VALC = V – Vpo
2 CC

When ALC operation voltage is –5 dBV (at VCC = 5 V)


–5 dB = 0.56 Vrms = 1.59 Vp-p = 0.80 Vp-o
VALC = 2.5 – 0.8 = 1.7 V
are concerned.

Rev.2.00 Jun 14, 2006 page 7 of 13


M65845AFP

Input impedance to pin 35 is so high (1 MΩ) that ALC base voltage can be determined by division resistance.

VCC

R17 (51 kΩ)

35
C33 (0.01 µF)
R16

at VCC = 5 V
ALC Operation Voltage (dBV) Pin 35 Control Voltage VALC (V) Resistance R16 (Ω)
+3 0.50 5.6 k
0 1.09 15 k
–2 1.38 20 k
–4 1.61 24 k
–6 1.79 27 k
–8 1.94 33 k
–10 2.05 36 k

MIC SW
Input low level to pin 31 (MIC SW), then microphone and echo signal can be cut.
Pin 31 (MIC SW) MIC SW Echo Signal Output
H or Open On On
L Off Mute

Audio Source Select


Changing the switch, sound source changes four patterns matching with Karaoke soft.
Pin 33 AUDSW1: D1 Pin 34 AUDSW2: D2 Movements
L L Stereo
L H Lch monaural
H L Rch monaural
H H Vocal cut

1. Stereo
Under the conditions usual 2ch are played back to each outputs.
2. Lch monaural
Under the conditions Lch source is played back to 2ch outputs and suitable for Karaoke reproduction of multiple
Karaoke soft and main sound reproduction of laser disks.
3. Rch monaural
Under the conditions Rch source is played back to 2ch outputs and suitable for reference vocal reproduction of
multiple Karaoke soft and sub sound reproduction of laser disks.

Rev.2.00 Jun 14, 2006 page 8 of 13


M65845AFP

4. Vocal cut
It is a method turned down Lch and Rch input having the same phase and sound.
Low pass cut off frequency fc is determined by a capacitance which connect to pin 36 (vocal cut filter).
It is also having a function which through frequency under vocal level for supplying a lack of low level sound.

RVC = 20 kΩ (Typ)

36
C34

1
fc =
2π • RVC • C34

at fc = 50 Hz, C34 = 0.15 µF is determined.


Caution: Inside resistance is changeable one by one which rate is ±30%.

Digital Echo
1. Clock oscillator circuit
This IC incorporates a current control type clock oscillator circuit in it, thus providing circuit configuration just by
connecting an RC for current control pin 32 (CLOCK CONT).
Fully internal clock supply prevents occurrence of undesired radiation without affecting any external circuit.
The oscillator frequency fck is following.
fck = 2 MHz (RC = 51 kΩ)

DC current
RC
Clock
32 oscillator
circuit

Clock frequency: fck

Note: The delay time (Td) for echo is determined by the clock frequency (fck).
Delay time = 1/fck × 24 × N
(N = the number of memory bits = 16384)
fck = 2 MHz (Rc = 51 kΩ): Delay time = 197 ms
fck = 2.6 MHz (Rc = 39 kΩ): Delay time = 150 ms
fck = 3.9 MHz (Rc = 24 kΩ): Delay time = 100 ms

Rev.2.00 Jun 14, 2006 page 9 of 13


M65845AFP

2. Auto mute function


The IC carries out auto mute function at the time of powering up and switching on MIC SW in order to suppress
shock noise that the digital delay may produce.

• At power up

Mute time
Reset Time (400 ms)

• At switching on MIC SW

Mute time
MIC SW OFF (400 ms)

Switching on MIC SW

3. Input and output LPF


Signal through frequency fsig is also determined by LPF of digital echo cut off frequency.
2 degree LPF of digital echo is formed by external resistance and capacitor. (refer to next figure)
So, cut off frequency is determined by next formula.
1
fsig =
2π R8 • R9 • C13 • C14

LPF1 LPF2

REF REF

+ +
– –

12 13 23 24
C14 C14

R8 R8
24 kΩ 24 kΩ

R7 R9 R7 R9
24 kΩ C13 24 kΩ 24 kΩ C13 24 kΩ

Rev.2.00 Jun 14, 2006 page 10 of 13


M65845AFP

Compatibility with M65845FP


<Application Example in Use M65845FP>

5k
*2 0.15µ
0.22µ
MIC1 1 MICIN VCFIL 36 0.01µ
4.7µ
51k
2 ALC1 VALC 35 VCC
0.33µ 2.2k
*1 24k
3 MIC1NFIN AUDSW2 34 D2
200p *1
*2 150k
4 MIC1OUT AUDSW1 33 D1
*2
0.1µ
0.1µ 39k
*2
5k 5 MIC1VOLIN CLOCK 32 VCC
30kΩ *2
MIC2 6 MIC2IN MICSW 31 100p *1
0.22µ MIC
4.7µ
*2 SW
MICECHO 30

M65845AFP
7 ALC2
0.33µ 2.2k OUT
2.2µ
*1
8 MIC2NFIN LLINEOUT 29 Lout
200p 2.2µ
*2 150k *1
9 MIC2OUT RLINEOUT 28 Rout
0.1µ 0.1µ
*2 1µ
10 MIC2VOLIN LLINEIN 27 Lin
30k *2 1µ
Rin
*2 11 MICOUT RLINEIN 26
0.027µ 10k 15k
0.1µ 30k
ECHO 25 *2 0.047µ
12 LPF1IN
2700p
VOLIN *2 0.1µ
15k *1 3k
13 LPF1OUT LPF2OUT 24 *1
2700p 15k

14 ADINTIN LPF2IN 23
0.068µ 10k 0.027µ
30
*1 15 ADINTOUT DAINTOUT 22 15k *2
0.068µ
16 ADCONT DAINTIN 21
0.22µ
17 REF DACONT 20
47µ 0.22µ
18 GND VCC 19 VCC

0.1µ 100µ

*2
Feed Back
0.15µ 30k Units R: Ω
C: F
As mentioned above, the M65845AFP can be replaced with the M65845FP without changing the board.

Notes: *1. The components marked with a circle are required for the M65845FP, not for the M65845AFP.
*2. The M65845AFP is different from the M65845FP a part of the components marked with a circle.

Rev.2.00 Jun 14, 2006 page 11 of 13


M65845AFP

Application Example
Microphone amplifier : GV = 47 dB, fcl = 50 Hz
ALC operating voltage –4 dBV
ECHO : Delay time 197 ms (fs = 83.3 kHz)
Cut-off frequency 3.1 kHz

5k
1µ 0.15µ
MIC1 1 MICIN VCFIL 36 0.01µ
4.7µ
51k
2 ALC1 VALC 35 VCC
2.2µ
24k
3 MIC1NFIN AUDSW2 34 D2


4 MIC1OUT AUDSW1 33 D1
1µ 51k
5 MIC1VOLIN CLOCK 32 VCC
5k 30k CONT
MIC2 6 MIC2IN MICSW 31
4.7µ MIC
1µ SW
7 ALC2
M65845AFP MICECHO 30
2.2µ OUT
2.2µ
8 MIC2NFIN LLINEOUT 29 Lout
2.2µ

1µ 9 MIC2OUT RLINEOUT 28 Rout


1µ 1µ
10 MIC2VOLIN LLINEIN 27 Lin
30k 1µ
11 MICOUT RLINEIN 26 Rin
0.047µ 24k
24k 30k
12 LPF1IN ECHO 25
VOLIN 1µ
24k 1000p 1µ
13 LPF1OUT LPF2OUT 24
1000p 24k

14 ADINTIN LPF2IN 23
0.068µ 24k 0.047µ
15 ADINTOUT DAINTOUT 22
24k
0.068µ
16 ADCONT DAINTIN 21
0.1µ

17 REF DACONT 20
47µ 0.1µ
VCC
18 GND VCC 19
0.1µ 100µ

Feed Back
0.15µ 50k

Units R: Ω
C: F

Rev.2.00 Jun 14, 2006 page 12 of 13


M65845AFP

Package Dimensions
JEITA Package Code RENESAS Code Previous Code MASS[Typ.]
P-SSOP36-8.4x15-0.80 PRSP0036GA-A 36P2R-A 0.5g

HE 36 19

E
*1

NOTE)
1. DIMENSIONS "*1" AND "*2"
DO NOT INCLUDE MOLD FLASH.
2. DIMENSION "*3" DOES NOT
INCLUDE TRIM OFFSET.
1 18
Index mark
c

*2
D
A2 A1 Reference Dimension in Millimeters
Symbol
Min Nom Max
A

D 14.8 15.0 15.2


E 8.2 8.4 8.6
*3
e bp A2 2.0
y
A 2.4
A1 0.05

L
bp 0.35 0.4 0.5
c 0.13 0.15 0.2
0° 10°
Detail F HE 11.63 11.93 12.23
e 0.65 0.8 0.95
y 0.15
L 0.3 0.5 0.7

Rev.2.00 Jun 14, 2006 page 13 of 13


Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan

Keep safety first in your circuit designs!


1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble
may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary
circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.

Notes regarding these materials


1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's
application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party.
2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data,
diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of
publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is
therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product
information before purchasing a product listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors.
Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor
home page (http://www.renesas.com).
4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to
evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes
no responsibility for any damage, liability or other loss resulting from the information contained herein.
5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life
is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a
product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater
use.
6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials.
7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and
cannot be imported into a country other than the approved destination.
Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited.
8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein.

RENESAS SALES OFFICES http://www.renesas.com


Refer to "http://www.renesas.com/en/network" for the latest and detailed information.
Renesas Technology America, Inc.
450 Holger Way, San Jose, CA 95134-1368, U.S.A
Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501
Renesas Technology Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K.
Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900
Renesas Technology (Shanghai) Co., Ltd.
Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120
Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7898
Renesas Technology Hong Kong Ltd.
7th Floor, North Tower, World Finance Centre, Harbour City, 1 Canton Road, Tsimshatsui, Kowloon, Hong Kong
Tel: <852> 2265-6688, Fax: <852> 2730-6071
Renesas Technology Taiwan Co., Ltd.
10th Floor, No.99, Fushing North Road, Taipei, Taiwan
Tel: <886> (2) 2715-2888, Fax: <886> (2) 2713-2999
Renesas Technology Singapore Pte. Ltd.
1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632
Tel: <65> 6213-0200, Fax: <65> 6278-8001
Renesas Technology Korea Co., Ltd.
Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea
Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145
Renesas Technology Malaysia Sdn. Bhd
Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jalan Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia
Tel: <603> 7955-9390, Fax: <603> 7955-9510

© 2006. Renesas Technology Corp., All rights reserved. Printed in Japan.


Colophon .6.0

You might also like