M65851FP Single Chip Karaoke Processor REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Description The M65851FP is an LSI that not only contains circuits (echo and key control) necessary for Karaoke but also improves other peripheral functions. This IC has full peripheral functions including vocal cut, phase shifter, equalizer, detection of intervals between songs, digital surround, and Karaoke scoring. It is therefore suitable not only for dedicated Karaoke units but also for radio cassette tape recorders, TV, VCR, and miniature unit audio systems with Karaoke function. Features • • • • Capable of composing echo and key control circuits necessary for Karaoke system with a single chip Echo circuit is capable of supporting digital surround by adopting 16 Kbit RAM built-in digital delay 17 steps of –8 to +8 for key control (1 step is equivalent to a half tone) Karaoke entertainment functions such as Karaoke scoring, vocal cut, equalizer, phase shifter, detection of intervals between songs, and magic voice functions • Generation of unnecessary radiation is avoided because clock’s built-in current-control oscillation circuit keeps clock effects inside the clock • Built-in automatic reset circuit activated with power turned on • 5 V single power supply Recommended Operating Condition • Supply voltage range: VCC = 4.5 to 5.5 V • Rated supply voltage: VCC = 5 V System Configuration Lch input Source selector Lch output MIX R L R+L Phase shifter (ON/OFF) Key control MIC EQ Vocal cut MIX Rch input Rch output Score system Music search ALC MIC MIC VOL MIC AMP REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 1 of 27 Delay output MIX Echo/ Surround Delay VOL M65851FP MGAIN LGAIN MICIN VCFIL LIN RIN PS1 PS2 EQL1 EQL2 EQL3 EQL4 EQLAMPIN1 EQLAMPIN2 EQLAMPOUT 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 Gain Gain BPF1 MBPF2 1 MBPF1 Block Diagram 64 LOUT Equalizer 63 ROUT MBPF3 2 MIC L R LBPF1 3 Phase shifter Source selector BPF2 LBPF2 4 62 EQRAMPOUT + 61 EQRAMPIN2 + 60 EQRAMPIN1 LBPF3 5 Score Keycon KCOUT 7 Delay Equalizer KSIGIN 6 + VOL 59 EQR4 58 EQR3 57 EQR2 KOLPF2 8 LPF KHPF1 11 VCC HPF KHPF2 10 56 EQR1 16 Kbit SRAM 16 Kbit SRAM 55 AVCC2 GND KOLPF1 9 54 AGND2 53 DOUT KCISIG 12 KILPF1 13 + LPF + 52 DISIG 51 DIN Logic F.VOL KADCINTIN 15 D.VOL KILPF2 14 50 DILPF1 LPF ADC KADCINTOUT 16 + KADCCONT 17 49 DILPF2 48 DILPF3 47 DADCINTIN DAC KDACCONT2 19 ADC KDACCONT1 18 KDACINTOUT 20 45 DADCCONT KARAOKE scoreing GND Clock 43 DDACINTIN 42 DDACINTOUT Test VCC 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 SCORETEST3 MCK VDD DGND DATA CLOCK STROBE REQ W/RSEL TEST1 TEST2 DOLPF3 DOLPF2 LPF SCORETEST2 GND SCORETEST1 VDD KCSEL AVCC1 24 44 DDACCONT DAC REF AGND1 23 Auto reset MCU interface KDACINTIN 21 REF 22 46 DADCINTOUT REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 2 of 27 41 DOLPF1 M65851FP Function List M65851FP provides the following functions and can configurate all Karaoke functions with only a single chip. Usable or Not Function Explanation Key Set Mode c Not Key Set Mode c c × U Switch with the Echo c Remarks Digital echo Built in 16 K SRAM Delay time (changeable) 100 ms, 130 ms 150 ms, 200 ms Digital key control Built in 16 K SRAM –8 to +8 17 steps Digital surround Built in 16 K SRAM Digital Surround 10 ms to 50 ms 5 kinds Phase shifter surround Equalizer Changeable the effect thanks to the external R c c Capable of use both key control and echo Bass/Treble –12 dB to +12 dB/2 dB 13 steps changeable c c Bass: Resonance type Treble: Filter type Source selector Provided all multiple voice soft, L, R, (L+R)/2, Vocal cut L-R (for digital surround) Key control bypass c c Scoring function Scoring the MIC vocal input c c Help vocal function At the MIC vocal is nothing, reference vocal is mixed output. c c Voice key control Input the MIC voice to key control (change voice tone) c × At key set mode capable to use voice key control or key control Music search Detect to line input level c c At music input is nothing, key control level is reset automatically Others MCU interface Current control type oscillation circuit Automatic mute Automatic reset c c REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 3 of 27 At key set mode Capable of use echo or surround Not key set mode Capable of use both echo and surround Compare the reference vocal and MIC vocal frequency REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 4 of 27 (Top view) Outline: PRQP0080GB-A (80P6N-A) AVCC1 24 AGND1 23 REF 22 KDACINTIN 21 KDACINTOUT 20 KDACCONT2 19 KDACCONT1 18 KADCCONT 17 KADCINTOUT 16 KADCINTIN 15 KILPF2 14 KILPF1 13 KCISIG 12 KHPF1 11 KHPF2 10 KOLPF1 9 KOLPF2 8 KCOUT 7 KSIGIN 6 LBPF3 5 LBPF2 4 LBPF1 3 MBPF3 2 MBPF2 1 41 DOLPF1 42 DDACINTOUT 43 DDACINTIN 44 DDACCONT 45 DADCCONT 46 DADCINTOUT 47 DADCINTIN 48 DILPF3 49 DILPF2 50 DILPF1 51 DIN 52 DISIG 53 DOUT 54 AGND2 55 AVCC2 56 EQR1 57 EQR2 58 EQR3 59 EQR4 60 EQRAMPIN1 61 EQRAMPIN2 62 EQRAMPOUT 63 ROUT 64 LOUT M65851FP Pin Arrangement M65851FP EQLAMPOUT 65 40 DOLPF2 EQLAMPIN2 66 39 DOLPF3 EQLAMPIN1 67 38 TEST2 EQL4 68 37 TEST1 EQL3 69 36 W/RSEL EQL2 70 35 REQ EQL1 71 34 STROBE PS2 72 33 CLOCK PS1 73 32 DATA RIN 74 31 DGND LIN 75 VCFIL 76 30 VDD 29 MCK MICIN 77 28 SCORETEST3 LGAIN 78 27 SCORETEST2 MGAIN 79 26 SCORETEST1 MBPF1 80 25 KCSEL M65851FP Pin Description Pin No. Name I/O 1 MBPF2 Symbol Microphone band pass filter 2 I 2 MBPF3 Microphone band pass filter 3 O 3 LBPF1 Line band pass filter 1 — 4 LBPF2 Line band pass filter 2 I 5 LBPF3 Line band pass filter 3 O 6 KSIGIN Key controlled signal input I Function Composes band pass filter for Karaoke scoring (For microphone signal) Composes band pass filter for Karaoke scoring (For reference signal) Key controlled signal input 7 KCOUT Key control output O Key control signal output 8 KOLPF2 Low-pass filter 2 output O Post-filter after D/A conversion for key control 9 KOLPF1 Low-pass filter 1 input I 10 KHPF2 High-pass filter 2 output O 11 KHPF1 High-pass filter 1 input I 12 KCISIG Key control signal output — 13 KILPF1 Low-pass filter 1 input I 14 KILPF2 Low-pass filter 2 output O High-pass passage filter for high-pass through Output by selecting from L, L+R/2, L-R, and microphone input Pre-filter after D/A conversion for key control Composes an A/D conversion integrator with external C 15 KADCINTIN A/D integrator input I 16 KADCINTOUT A/D integrator output O 17 KADCCONT A/D control — 18 KDACCONT1 D/A control 1 — 19 KDACCONT2 D/A control 2 — 20 KDACINTOUT D/A integrator output O 21 KDACINTIN D/A integrator input 22 REF Reference 23 AGND1 Analog GND 1 — 24 AVCC1 Analog power supply 1 — 25 KCSEL Key control selector I: CMOS 20 kΩ↓ Controls the key selector key control mode or not 26 SCORETEST1 Score test selector 1 I: CMOS 20 kΩ↓ Score test selector; normally set to L level 27 SCORETEST2 Score test selector 2 I: CMOS 20 kΩ↓ 28 SCORETEST3 Score test selector 3 O: CMOS Composes a D/A conversion integrator with external C I — 29 MCK Clock control — 30 VDD Digital power supply — 31 DGND Digital GND — 32 DATA Serial data I: CMOS Schmitt 50 kΩ↓ O: CMOS Analog reference voltage ≈ 1/2VCC 5V Score test selector; normally no connect External R controls built-in clock generator circuit Microcomputer interface Serial data input/output 33 CLOCK Clock control I: CMOS Schmitt 50 kΩ↓ Shift clock output 34 STROBE Strobe I: CMOS Schmitt 50 kΩ↓ Strobe output 35 REQ Request 36 W/RSEL Write-read selector I: CMOS Schmitt 50 kΩ↓ 37 TEST1 Test signal control input 1 I: CMOS 20 kΩ↓ 38 TEST2 Test signal control input 2 I: CMOS 20 kΩ↓ 39 DOLPF3 Low-pass filter 3 output O 40 DOLPF2 Low-pass filter 2 input I 41 DOLPF1 Low-pass filter1 input — REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 5 of 27 O: CMOS Request output Control the selector write/read Test input pin; normally set to L Post-filter after D/A conversion for digital delay M65851FP Pin Description (cont.) Pin No. Symbol 42 DDACINTOUT D/A integrator output 43 DDACINTIN D/A integrator input 44 DDACCONT D/A control — 45 DADCCONT A/D control — 46 DADCINTOUT A/D integrator output O 47 DADCINTIN A/D integrator input I 48 DILPF3 Low-pass filter 3 output O 49 DILPF2 Low-pass filter 2 input I 50 DILPF1 Low-pass filter 1 input — Name I/O O Function Composes a D/A conversion integrator with external I Composes a A/D conversion integrator with external Pre-filter before A/D conversion for digital delay Outputs after selection of echo/surround input signal 51 DIN Delay select signal input I 52 DISIG Delay select signal output O 53 DOUT Delay signal output O 54 AGND2 Analog GND 2 — 55 AVCC2 Analog power supply 2 — 56 EQR1 Rch equalizer adjustment C1 — 57 EQR2 Rch equalizer adjustment C2 — 58 EQR3 Rch equalizer adjustment C3 — 59 EQR4 Rch equalizer adjustment C4 — 60 EQRAMPIN1 Rch equalizer input 1 I 61 EQRAMPIN2 Rch equalizer input 2 I 62 EQRAMPOUT Rch equalizer output O 63 ROUT Rch output O 64 LOUT Lch output O Lch mixing output 65 EQLAMPOUT Lch equalizer output O 66 EQLAMPIN2 Lch equalizer input 2 I Composes external C for the adjustment of Lch equalizer characteristics (bass and treble) 67 EQLAMPIN1 Lch equalizer input 1 68 EQL4 Lch equalizer adjustment C4 — 69 EQL3 Lch equalizer adjustment C3 — 70 EQL2 Lch equalizer adjustment C2 — 71 EQL1 Lch equalizer adjustment C1 — 72 PS2 Phase shift input 2 I 73 PS1 Phase shift input 1 I 74 RIN Rch line input I Rch line input 75 LIN Lch line input I Lch line input 76 VCFIL Vocal cut filter I Process frequencies lower than the vocal band 77 MICIN Microphone input I Microphone input 78 LGAIN Line input gain control I Set gain for the no music detection 79 MGAIN Microphone input gain control I Set gain for the microphone detection 80 MBPF1 Microphone band pass filter 1 — REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 6 of 27 Delay signal output Composes external C for the adjustment of Rch equalizer characteristics (bass and treble) Rch mixing output I Determines a constant at time of phase shift Composes band pass filter for Karaoke scoring (For microphone signal) M65851FP Absolute Maximum Ratings Item Supply voltage Circuit current Input voltage Operating temperature Storage temperature Symbol VCC Vi Pd Topr Tstg Ratings 6.0 –0.3 to VCC + 0.3 815 –20 to +75 –40 to +125 Units V V W °C °C Test Conditions Recommended Operating Condition Item Min Limits Typ Max Units 4.5 4.5 –0.3 0 0 0.7VDD VDD–1 5 5 0 — — — — 5.5 5.5 0.3 0.3VDD 0.8 VDD VDD V V V V V V V Symbol Analog supply voltage Digital supply voltage Analog-digital voltage margin L input level VCC VDD VCC–VDD VIL H input level VIH Test Conditions Pin 25, 26, 27, 28, 37, 38 Pin 32, 33, 34, 36 Pin 25, 26, 27, 28, 37, 38 Pin 32, 33, 34, 36 Electrical Characteristics (VCC = 5 V, f = 1 kHz, Vi = 100 mVrms, F0, Ta = 25°C, Unless otherwise noted) Limits Item Total Key control Digital delay Symbol Min Typ Max Units Test Conditions Circuit current ICC 25 60 90 mA Clock frequency fck 6.8 8 9.2 MHz No signal provided Pull down resistance RID 10 20 40 kΩ Pin 25, 26, 27, 28, 37, 38 25 50 100 kΩ Pin 32, 33, 34, 36 “H” output current IOH — –20 –10 mA Pin 32, 35, VOH = 4.0 V “L” output current IOL 20 34 — mA Pin 32, 35, VOL = 1.0 V Gain between input and output GV –3 0 +3 dB VOL = 0 dB Output distortion THD — 1.3 3 % VO = 100 mVrms, 30 kHz LPF Output noise voltage No — –80 –65 dBV JIS-A Maximum output voltage Vomax 0.7 1.0 — Vrms THD = 10% Maximum volume attenuation VOLATTmax — –60 –40 dB Gain = –∞ Delay time Td 4.2 10.2 16.2 ms Sets 10 ms with microcomputer 8.4 15.4 22.4 Sets 15 ms with microcomputer 13.5 20.5 27.5 Sets 20 ms with microcomputer 19.7 28.7 37.7 Sets 30 ms with microcomputer 40.2 49.2 58.2 Sets 50 ms with microcomputer 86.3 98.3 110.3 Sets 100 ms with microcomputer 116 131 146 Sets 130 ms with microcomputer 128 148 168 Sets 150 ms with microcomputer 177 197 217 –3 0 +3 Gain between input and output GV REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 7 of 27 Sets 200 ms with microcomputer dB VOL = 0 dB M65851FP Electrical Characteristics (cont.) (VCC = 5 V, f = 1 kHz, Vi = 100 mVrms, F0, Ta = 25°C, Unless otherwise noted) Limits Item Digital delay Line EQ Output distortion Symbol THD Min Typ Max Units — 0.3 0.6 % Test Conditions — 0.5 1.0 — 0.7 1.4 Td = 50 ms, 30 kHz LPF — 1.0 2.0 Td = 100 ms, 30 kHz LPF Td = 10, 15, 20 ms, 30 kHz LPF Td = 30 ms, 30 kHz LPF — 1.5 3.0 Td = 150 ms, 30 kHz LPF — 2.0 4.0 Td = 200 ms, 30 kHz LPF Maximum output voltage Vomax 0.7 1.0 — Vrms 30 kHz LPF, THD = 10% Output noise voltage No — –92 –80 dBV Td = 10, 15, 20, 30, 50 ms, Vi = 0 mVrms JIS–A — –87 –72 Td = 100 ms, Vi = 0 mVrms JIS–A — –85 –70 Td = 130, 150 ms, Vi = 0 mVrms JIS–A — –82 –67 Maximum volume attenuation VOLATTmax — –60 –40 — –60 –40 Gain between input and output GV –3 0 Output distortion THD – Maximum output voltage Vomax Output noise voltage Td = 200 ms, Vi = 0 mVrms JIS–A dB Delay volume, Gain = –∞ +3 dB 30 kHz LPF, upon key control through 0.05 0.1 % 30 kHz LPF, upon key control through 1.2 1.8 — Vrms 30 kHz LPF, THD = 10% upon key control through No — –95 –88 dBV JIS–A, upon key control through Channel separation CS — –70 –50 dB Input impedance Zi 10 20 40 kΩ Vocal removal ratio Grej 14 18 — dB dB Feedback volume, Gain = –∞ upon key control through, Lin = 400 Hz, Rout JIS-A Vocal cut Maximum bass boost volume GBBmax 9 12 15 Maximum bass cut volume GBCmax –15 –12 –9 f = 100 Hz Maximum treble boost volume GTBmax 9 12 15 f = 10 kHz Maximum treble cut volume GTCmax –15 –12 –9 f = 10 kHz REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 8 of 27 f = 100 Hz M65851FP Delay Block Delay block provides a delay signal which using digital echo or digital surround. Constitution 1.0 μ 1000 p 0.068 μ 4700 p 52 51 0.1 μ 0.1 μ 0.068 μ 4700 p 1000 p 50 49 48 47 46 45 44 43 42 41 40 39 LPF ADC DAC LPF Input DLSW3 + 1 DLSW2 2 Feedback volume Delay volume + Output + Delay DLSW1 16 Kbit RAM Function 1. Delay time Capable to set the follow delay time; Mode Delay Time Echo Surround 100, 130, 150, 200 ms 10, 15, 20, 30, 50 ms 2. Switch mode Mode Echo 1 2 Surround DLSW1 ON OFF OFF DLSW2 1 2 1 ⎯ Echo “1” Set the echo volume using the delay volume (Change the delay signal gain) ⎯ Echo “2” Set the microphone volume using the delay volume (Change the delay signal + input signal gain) Delay Signal Mute Mute OFF Mute ON REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 9 of 27 DLSW3 ON OFF M65851FP 3. Input/output LPF Input/output LPF is formed following block. 1000 p 4700 p 50 (41) 1 49 (40) 1 24.9 k 24.9 k 2 10.5 k 2 Mode 48 (39) 24.9 k 10.5 k − + Input 2 1 10.5 k Output Switch Conditions Cut Off Frequency 1 2 3.0 kHz 7.0 kHz Echo Surround 4. Volume Volume Mode +6 dB to –12 dB/3 dB step and –∞ 8 level –2 dB to –6 dB/1 dB step and –8 dB, –10dB, –∞ 8 level Delay volume Feedback volume Key Control Block It can be changed the key of Karaoke accompaniment. And it can change a microphone voice which like a monkey voice. It also can use digital echo block at not key set mode. Key Control Condition, Key Control Set Mode or Not Pin 25 KCSEL L H Key Control Condition Key control set mode Not key control set mode REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 10 of 27 M65851FP Constitution 3300 p 10 k Input 10 k 4700 p 15 k 15 k 2.2 μ 0.068 μ 4.7 k 0.047 μ 13 Output 1000 p 1000 p 1000 p 3.9 k 0.068 μ 0.068 μ 27 k 560 p 14 LPF 2.2 μ 0.047 μ 820 p 25 12 5.6 k 15 16 17 18 19 20 21 ADC DAC 9 Key control 8 11 10 LPF HPF VOL + 7 6 16 Kbit RAM Function 1. Key change level Key Change Level (1step is half tone) Key Up +8 +7 +6 +5 +4 Key Down +3 +2 +1 0 –1 –2 –3 –4 2. Volume It set the key control signal gain. +4 dB to 6 dB/2 dB step and –10 dB, –∞ 8 level 3. Key control level automatic reset When music search detects no signal, key control level is automatic changed normal (0) level. (Provides ON/OFF switch with MCU interface) REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 11 of 27 –5 –6 –7 –8 M65851FP Echo Block (Using Key Control Block) At not key control set mode, digital echo is able to use, when the following block using. 1.0 μ 4700 p Echo feed back volume Input 4700 p 24 k 24 k 2.2 μ 24 k Output 24 k 24 k 24 k 0.068 μ 0.1 μ 0.1 μ 1000 p 25 12 13 14 2.2 μ 24 k 0.068 μ 1000 p 15 16 17 18 19 20 21 ADC DAC LPF 9 Delay 8 24 k 11 10 LPF BUF VOL + 16 Kbit RAM Delay time 100 ms, 130 ms, 150 ms, 200 ms Volume level +4 to –6 dB/2 dB step and –10 dB, –∞ 8 level (same as key control volume) Phase Shifter Block Following is the phase shifter block, which makes phase surround effect. + – Lch input 20 k 20 k 20 k Lch output 20 k Surround SW R (internal) Key control block output 73 C (external) = 0.022 μF 72 20 k 20 k – + 20 k Rch input Switch Conditions Surround SW ON Surround Effect R = 13 kΩ Max R = 16 kΩ R = 20 kΩ Typ Min Surround SW OFF REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 12 of 27 20 k Noting Rch output 7 6 M65851FP Equalizer Block Following is the equalizer block, which can control the both gain bass and treble. + – EQIN EQSW1 Bass resonance block EQSW2 EQSW3 EQSW4 – + R2 136 k Treble block R1 1.8 k (56) 71 (57) 70 (58) (59) 69 68 (62) 65 C3 0.033 μ C2 C1 0.022 μ 0.47 μ (63) 64 EQOUT Bass block is resonance type which is used simulated inductor amplifier. Treble block is filter type. These can be set –12 dB to +12 dB/2 dB step. Following is a center frequency “fO”, “Q” (bass resonance block). fO = 1 2π C1 • C2 • R1 • R2 (Hz) Q = (C1 • R2) / (C2 • R1) Vocal Cut Block The sound components of the same phase and same sound volume in the L and R channels are attenuated. This made also allows components with lower frequency than the vocal band to pass through the filter, to compensate insufficient low-frequency sound. Constitution 20 k 20 k 20 k Lch input + – – + R 20 k 76 C 0.15 μ Vocal cut output 20 k 20 k 20 k Rch input LPF is formed by the internal R (20 kΩ) and the external C, when C = 0.15 μF, cut off frequency is 53 Hz. fVC = 1 = 53.0 Hz 2π CR REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 13 of 27 M65851FP Scoring Function Scoring function judge the MIC vocal input. Scoring Output Form MIC input is judged from 0 to 99 level. Constitution Scoring function is constituted following two ways. Judgment Conditions 1. Compare the frequency 2. Vocal level judgment Function Compare the frequency reference voice and microphone voice Ratio 75% Vocal level judgment (as vocal is bigger than reference level, judgment is good) 25% Music Search Music search is constituted following. (1) Input signal reference level comparison (2) Music detection (3) No music detection 1. Input signal reference level comparison Input signal reference level comparison is constituted amplifier and level comparison. When input signal is bigger than reference level, level comparison output the pulse which added internal clock. Input signal Clock signal (125 kHz) Pulse output (after level detection) REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 14 of 27 Reference level M65851FP The reference level can be changed, thanks to the following internal R2 and external R1 which determine the amplifier gain. + – Lch Level comparator R2 = 50 kΩ 78 Internal resistance precision is about ±30%. R1 Gain GV = (R1 + R2) / R1 2. Music detection To search a music interval, it is necessary to judge if it is a music or not. This judgment is made by monitoring the 20 seconds and counting the pulse signal (after level detection). The pulse signal counts is bigger than fixed counts, it is judged as a music. Pulse counter is reset whenever monitor 20 seconds or judged no music decision. about 20 s Pulse output (after level detection) 4096 pulse Music decision 3. No music detection After music decision “2. Music detection”, no music is judged when no pulse in level detection at 3 seconds. But if there is not no pulse when monitoring the 3 seconds, no music decision counter is reset. about 3 s Pulse output (after level detection) No music decision REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 15 of 27 M65851FP Signal Input Circuit Signal input circuit is constituted the following band pass filter, which cuts the input signal to vocal band width. C1 = 0.15 μF 80 (3) C2 = 1500 pF 1 (4) 2 (5) R2 = 100 kΩ Input R1 = 10 kΩ − + Output Low level cut off frequency fcl and high level cut off frequency fch is fcl = 1/2π C1R1 = 106 Hz fch = 1/2π C2R2 = 1.1 kHz and, the gain of amplifier GV is GV = R2/R1 = 20 dB. Same as the band pass filter is constituted microphone signal input. Automatic Vocal Support In case using the Karaoke system, when microphone input level is nothing, then audio source vocal appears and help the microphone songs. (It can set only following conditions, audio source selector sets Lch monaural or vocal cut) Microphone Input Level On Off Lch monaural (L+R)/2 Source Selector Mode Vocal cut (L+R)/2 Others Same as microphone input Changing time from microphone input level changed to source selector changed is following. Attack time (Off → On) 0 s Release time (On → Off) 1 s or 2 s REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 16 of 27 M65851FP The Timing of Microphone Input Signal Detection Reference level (1.0 V) Microphone Ref (2.5 V) input Level output Release time Attack time 0 s Microphone signal detection On On Off Following is the microphone input signal judgment block, which includes amplifier so reference level can regulate. + – MIC Level comparator R2 = 50 kΩ 79 Internal resistance precision is about ±30%. R1 Gain GV = (R1 + R2) / R1 Oscillation Circuit This IC incorporates a current control type clock oscillator circuit in it, thus providing circuit configuration just by connecting a R for current control pin 29 (CLKCNT). Fully internal clock supply prevents occurrence of undesired radiation without affecting any external circuit. The oscillator frequency fck is following. fck = 8 MHz Reset This IC is automatically reset when the power is turned on, and is automatically canceled nearly 120 ms later. Function Echo Delay time Key control Phase shifter Equalizer Source selector Scoring function First Set 150 ms No changing OFF OFF Stereo (Key control by pass) OFF REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 17 of 27 M65851FP MCU Interface Constitutions MCU interface is constituted serial bass interface, so the selection, data input or output, is changed by pin 36 input level. Pin 36 W/RSEL L H Conditions MCU → IC (Data input) IC → MCU (Data output) MCU interface circuit 32 33 34 35 36 REQ W/RSEL DATA CLOCK STROBE MCU Data Input 1. Data input format DATA D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CLOCK STROBE 2. Mode creations D0 to D1 select the following each block, and D2 to D13 create the particular setting. D14 and D15 are chip address, so this IC can use only when D14 = “L” and D15 = “H”. D0 L L D1 L H Echo/Surround mode Key control mode D2 to D13 H H L H Equalizer/Phase sifter mode Line mixing/Others mode REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 18 of 27 D14 D15 Chip address L H M65851FP (1) Echo/Surround mode D0 L D1 L D2 Echo/ Surround Item Echo/Surround Switch Echo delay time Surround delay time Item Delay volume Feedback volume D3 D4 Echo delay time D5 D6 D7 D8 D9 D10 Delay volume Surround delay time D11 D12 D13 Feedback volume D2 L H — — — — — — — — — D3 — — L H L H — — — — — D4 — — L L H H — — — — — D5 — — — — — — H L H L H D6 — — — — — — L H H L L D7 — — — — — — L L L H H D8 H H D9 H H D10 H L D11 — — D12 — — D13 — — Function +6 dB +3 dB H H L L L L L L H H L L H L H L H L — — — — — — — — — — — — — — — — — — 0 dB –3 dB –6 dB –9 dB –12 dB –∞ — — — — — — — — — — — — — — — — — — — — — — — — H H H H L L L L H H L L H H L L H L H L H L H L –2 dB –3 dB –4 dB –5 dB –6 dB –8 dB –10 dB –∞ REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 19 of 27 D14 D15 L H Function Echo Surround On not key control set mode sets H level 100 ms 130 ms 150 ms 200 ms 10 ms 15 ms 20 ms 30 ms 50 ms M65851FP (2) Key control mode D0 L D1 H D2 D3 Auto reset VSC/ VMC Item Automatic key control reset Key control mode selector Key change level Item Key control volume set (when not key control mode, it use a echo volume) Item Delay volume selector Delay signal mute D4 D5 D6 D7 D8 D9 Key change level D11 Key control volume D2 L H — — — — — — — — — — — — — — — — — — — D3 — — L H — — — — — — — — — — — — — — — — — D4 — — — — H H H H H H H H L L L L L L L L L D5 — — — — H L L L L L L L L L L L L L L L H D9 H H H H L L L L D10 H H L L H H L L D11 H L H L H L H L Function +4 dB +2 dB 0 dB –2 dB –4 dB –6 dB –10 dB –∞ D12 L D13 — D6 — — — — L H H H H L L L L L L L H H H H L H — — — L H Function Using an echo volume Using a microphone volume Mute OFF Mute ON REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 20 of 27 D10 D7 — — — — L H H L L H H L L L H H L L H H L D8 — — — — L H L H L H L H L H L H L H L H L D12 D13 D14 D15 Delay volume select Delay signal mute L H Function Automatic reset OFF Automatic reset ON VMC mode VSC mode +8 +7 +6 +5 +4 +3 +2 +1 0 –1 –2 –3 –4 –5 –6 –7 –8 M65851FP (3) Equalizer/Phase shifter mode D0 H D1 L D2 D3 D4 D5 Phase shifter Automatic vocal support Item Automatic vocal support (It can use only echo mode) Phase shifter surround mode D6 D7 D8 Equalizer treble D9 D10 D11 D12 Equalizer bass D2 L H — — D3 — — L H D4 — — — — D5 — — — — Function OFF ON Release time 1 s Release time 2 s — — — — — — — — L H L H L L H H OFF Surround effect Minimum Surround effect Typical Surround effect Maximum Equalizer Treble Mode D6 H H D7 H H D8 H L D9 L H Volume (dB) +12 +10 H H H H L L L L L L L H L L L L L L L H H H L H H L L L H H L L H L H L H L H L H L H L +8 +6 +4 +2 0 –2 –4 –6 –8 –10 –12 Equalizer Bass Mode D10 H H H H H D11 H H H L L D12 H L L H H D13 L H L H L Volume (dB) +12 +10 +8 +6 +4 H L L L L L L L L L L L L H H H L L L H H L L H H L H L H L H L +2 0 –2 –4 –6 –8 –10 –12 REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 21 of 27 D13 D14 L D15 H M65851FP (4) Line mixing/Others mode D0 H D1 H D2 D3 D4 Source selector Item Source selector D5 D6 Key control by pass Key control mixing D2 Key control by pass Key control mixing ON/OFF selector D3 D7 D8 L L L H H — — — H L H — — — — — — D10 D11 Scoring function Delay mixing D4 L H — — — — — — D9 D12 D13 Voice key control D14 D15 L H D5 — — — — — L H — D6 — — — — — — — L Lch monaural Rch monaural Vocal cut Bypass OFF (Though the key control circuit) Bypass ON (By pass the key control circuit) Mixing OFF (SSSW10 = “2”) — H Mixing ON (SSSW10 = “1”) Stereo Function Delay block input L-R Delay block input (L+R)/2 Relationships Source Selector and Key Control Bypass Mode D2 D3 L L Key Control Mixing Bypass ON Stereo L H H H L H Lch monaural Rch monaural Vocal cut Item Delay signal mixing ON/OFF selector Scoring function Voice key control Key Control Mixing Bypass OFF (L+R)/2 Lch monaural Rch monaural Vocal cut D7 L H D8 — L D9 — — D10 — — D11 — — D12 — — D13 — — H — — — — — H — — — — — — L H — — — — — — L H — — — — — — L — — — — — — — — — — — — — — — — — — — — H H L H — — — — — — — — — — — — — — L H Function Mixing OFF Mixing ON (L, R same phase) Mixing ON (L, R reverse phase) Scoring function OFF Scoring function ON Score output after no music decision Score can output always timing Internal music detection decides the scoring start/stop timing * Scoring stop MCU data decides the scoring start/stop Scoring start timing * OFF ON Notes: * Scoring function start/stop mode 1. Decide the internal music detection (D11 = “L”) 2. Decide the MCU data (D11 = “H”) When D12 is “L” level scoring is stopping, and change “H” level, scoring is start until D12 changes “L” level. REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 22 of 27 M65851FP Data Output (Score Result Output) 1. Internal music detection decides the scoring output timing When Karaoke song is over and then music detection judgment the no music detection, scoring is over and output the “H” pulse to REQ. After REQ is “H” level and then W/RSEL changes from “L” to “H”, this IC changes a output mode and it can output the score result. Music interval decision Line input Music decision REQ (output) W/RSEL (input) 250 ns or more (one clock cycle) CLOCK (input) D0 DATA (output) D1 D2 D13 D14 D15 2. MCU data decides the scoring result data output timing W/RSEL changes from “L” to “H”, so this IC changes output mode, and then score result data can output the same period of the clock. Line input Music decision W/RSEL (input) 250 ns or more (one clock cycle) CLOCK (input) D0 DATA (output) D1 D2 D13 D14 D15 3. Data format D0 D1 D2 D3 D4 D5 D6 D7 D8 Music interval decision D8: Music interval decision D9 to D15: Score result output an example 78 points D9 (MSB) D10 D11 D13 Score result output (binary output) Music decision = “H”, music interval decision = “L” D9 D10 D11 D12 D13 D14 D15 H L L H H H L REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 23 of 27 D12 D14 D15 (LSB) M65851FP Caution Input/Output Signal Level When using phase shifter, echo mixing and equalizer, this IC is limited the following functions. So, please determine the level of the each functions. Input Base Level 150 mVrms 100 mVrms 100 mVrms 50 mVrms Equalizer Gain Mode 0 dB +6 dB +12 dB +12 dB Hand Room 10.6 dB 8.1 dB 2.1 dB 8.1 dB S/N 78.5 dB 75 dB 75 dB 69 dB Improvement of Head Room As stated above, equalizer gain level is bigger, head room becomes also narrow. So It can be improvement that latest op-amp which using equalizer use external op-amp. + EQIN − Bass section − + 136 k Treble section 1.8 k 71 (56) 0.022 μ 70 (57) 0.47 μ 69 (58) 68 (59) 67 (60) 0.033 μ 1.0 μ 1.0 μ 66 (61) 65 (62) REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 24 of 27 − VCC2 2 (63) Analog high voltage VCC2 1.0 μ + 150 k 64 M5218AP Output M65851FP Following the relations supply voltage, input signal level, head room and S/N. (external op-amp: M5218AP) VCC2 9V Input Level 150 mVrms 100 mVrms 15 V 150 mVrms Equalizer Gain Level +6 dB +12 dB +6 dB +12 dB +6 dB +12 dB 100 mVrms +6 dB +12 dB 20 V Head Room 8.1 dB 2.1 dB 11.6 dB 5.6 dB S/N 78.5 dB 78.5 dB 75 dB 75 dB 10.6 dB (effect M65851FP) 8.1 dB 78.5 dB 14.1 dB (effect M65851FP) 11.6 dB 78.5 dB 75 dB 75 dB 150 mVrms +12 dB 10.6 dB (effect M65851FP) 78.5 dB 100 mVrms +12 dB 14.1 dB (effect M65851FP) 75 dB REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 25 of 27 M65851FP Application Example 80 0.15 μ BPF1 1 1500 p 79 78 Gain Gain 77 76 Rin 0.022 μ 1.0 μ 75 0.022 μ 0.47 μ 1.0 μ + 0.15 μ + 1.0 μ 10 k Lin 1μ + 10 k + + MICin 1μ 74 0.033 μ 73 72 71 70 69 68 67 66 65 Equalizer 2 MIC L 3 Phase shifter BPF2 Source selector Equalizer Delay + VOL 7 15 k 58 57 LPF 0.022 μ 3.9 k 5.6 k HPF 10 56 16 Kbit SRAM 16 Kbit SRAM 27 k 11 1000 p 1000 p VCC 9 55 GND 560 p 54 + 12 2.2 μ 53 13 + + LPF 10 k + 0.1 μ 100 μ + 2.2μ 52 1.0 μ 14 51 Logic 50 4700 p 16 LPF ADC 0.047 μ F.VOL 15 D.VOL 820 p 0.033 μ 59 0.47 μ 8 10 k 4.7 k Rout 61 + 4700 p 3300 p + 2.2 μ 60 Score Keycon 6 1000 p 63 + 5 2.2 μ Lout 62 + 4 + 2.2 μ R 0.15 μ 1500 p 64 0.068 μ 1000 p + 17 49 48 0.068 μ 18 47 0.068 μ DAC 19 ADC 0.068 μ 20 45 KARAOKE scoreing 0.047 μ 44 0.1 μ DAC 24 VCC 100 μ 0.1 μ 23 GND + REF + 47 μ 22 0.1 μ Auto reset MCU interface 21 15 k 46 Clock 43 0.068 μ 42 Test VDD GND 30 31 LPF 41 4700 p 25 26 27 28 29 11 k Key control noncorrespondence Key control correspondence REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 26 of 27 32 33 34 35 36 0.1 μ 37 38 39 40 1000 p DATA CLOCK STROBE REQ W/RSEL Unit R: Ω C: F M65851FP Package Dimensions JEITA Package Code P-QFP80-14x20-0.80 RENESAS Code PRQP0080GB-A Previous Code 80P6N-A MASS[Typ.] 1.6g HD *1 D 64 41 65 HE NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET. ZE *2 E 40 Reference Dimension in Millimeters Symbol 80 25 1 ZD 24 D E A2 HD HE A A1 bp c c Index mark A A2 F *3 y bp L A1 e Detail F REJ03F0172-0201 Rev.2.01 Jan 25, 2008 Page 27 of 27 e y ZD ZE L Min Nom Max 19.8 20.0 20.2 13.8 14.0 14.2 2.8 22.5 22.8 23.1 16.5 16.8 17.1 3.05 0.1 0.2 0 0.3 0.35 0.45 0.13 0.15 0.2 0° 10° 0.65 0.8 0.95 0.10 0.8 1.0 0.4 0.6 0.8 Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations. 4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com ) 5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products. 7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above. 8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications. 9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges. 10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas. 13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries. http://www.renesas.com RENESAS SALES OFFICES 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-7858/7898 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2377-3473 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399 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, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: <603> 7955-9390, Fax: <603> 7955-9510 © 2008. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .7.2