Audio ICs Mute detector IC BA336 / BA338 / BA338L The BA336, BA338 and BA338L are monolithic ICs designed for mute detection and tape end detection. When a duration of silence (52dBm or less) exceeds the time constant set with an external CR circuit, a song gap is identified, and after this a plunger control signal is output during a pulse whose width is determined by another external CR circuit. These functions are contained in a compact 9-pin package. The circuit configuration consists of a pre-amp with limiter, a comparator flip-flop, and a driver. Circuitry is also included which prevents errors when the power is turned on, and measures have been taken to prevent errors due to excessive input, song gap noise, and other factors. Applications Mute detection Tape end detection Features 1) Mute detection time and output pulse width can be set within a broad range by an external CR circuit. 2) Includes circuit for preventing errors due to song gap noise. Absolute maximum ratings (Ta = 25C) Recommended operating conditions (Ta = 25C) 726 3) Includes over-current protection circuit. 4) Includes circuit for preventing errors when the power is turned on. 5) Detection can be stopped using an external input. Audio ICs BA336 / BA338 / BA338L Block diagram Electrical characteristics (unless otherwise noted, Ta = 25C and VCC = 9.0V) 727 Audio ICs Measurement circuit 728 BA336 / BA338 / BA338L Audio ICs Circuit operation The BA336 / BA338 / BA338L operates according to the timing shown in Fig. 2. When the input signal is below the input decision level, the electrical potential of Pin 2 begins to rise according to the time constant set by CD and RD. When it reaches 1 / 2 of VCC, the comparator which sets the mute detection time inverts. At this point the potential of Pin 1 begins to rise according to the time constant set by CW and RW, and when it reaches 1 / 2 of VCC, the pulse width comparator inverts. During the interval from the inverting of the mute detection time comparator to the inverting of the pulse width compara- BA336 / BA338 / BA338L tor, the output is high. When the power is turned on or muting is turned off, a reset pulse is generated for a certain period of time (determined by the Pin 6 capacitor), the internal flip-flop resets, and an output pulse is not generated. When an input signal comes in after this, the flip-flop resets, mute detection goes on standby, and an output pulse is obtained with each song gap.If the mute time is TM, the song detection time TD and the output pulse width TW must be selected so that TD TW < TM. Furthermore, TD must be made longer than any periods of silence in songs. 729 Audio ICs BA336 / BA338 / BA338L Application example Attached components (see Fig. 3) (1) Input coupling capacitor CIN and resistor RIN (Pin 3) This capacitor is for coupling a pre-amp to the BA336 / BA338 / BA338L. If the DC level of the pre-amp output is GND, the coupling capacitor can be omitted. If a coupling capacitor is connected, Pin 3 must be connected to GND through a resistor. If the resistor between Pin 3 and GND is too large, an offset will occur due to a voltage drop caused by the input current, and the input decision level will change. We recommend 10kΩ or less. The input decision level of the BA336 / BA338 / BA338L is highly sensitive at*52dBm. In the application example, the pre-stage output is divided to adjust the sensitivity and increase the input impedance. Furthermore, the low cutoff frequency fc is determined by the input circuit time constant or the Pin 4 time constant, whichever is smaller. As it is better to determine fc by the Pin 4 CF when the power is turned on, we recommend making the time constant of the input circuit larger than that of Pin 4. (2) DC cutoff capacitor in feedback circuit CF (Pin 4) This determines the low cutoff frequency fC. The relation of CF and fC is as follows : 1 CF = (µF) 0.4πfC (kHz) If CF = 1µF, fC 800Hz. The larger CF is, the more time it will take for the circuit 730 to stabilize when the power is turned on. (3) Muting capacitor for power up CM (Pin 6) After the power is turned on, this capacitor stops song selection until the circuit stabilizes. If the value of CF is large, a large CM will also be necessary. CM must be greater than CF. Also, if it takes longer for the external circuit to stabilize, select CM based on the external circuit. The relation between CM and the muting time is as follows : TM 30CM (µF) (4) Noise filter capacitor CN (Pin 7) This capacitor prevents errors due to pulse noise. When an input signal is shorter than the time determined by TN = CN (µF) ms (BA338 / BA338L) or TN = 20CN (µF) ms (BA336), the IC will not respond and an output pulse will not be generated. If pulse noise appears continuously at the input, the effectiveness of the noise filter will be decreased. If it is likely that continuous noise will appear, attach a discharge resistor RN between Pin 7 and GND (RN y 30kΩ). There are differences in the noise filter functions of the BA336 and the BA338 / BA338L. Refer to the section, “Differences between the noise filters of the BA336 and BA338 / BA338L”. Audio ICs (5) Capacitor CW and resistor RW (Pin 1) for setting output pulse width The relation between CW, RW and the output pulse width TW is as follows : TW 0.69 CW (µF) RW (kΩ) ms TW is almost independent of the supply voltage. If RW is small (less than 10kΩ), errors increase. See Fig. 8. (6) Capacitor CD and resistor RD (Pin 2) for setting song gap detection time The relation between CD, RD and the detection time TD (the duration from the point when the input signal goes below the input decision level to the generation of the output pulse) is as follows : BA336 : TD = 0.69 CD (µF) RD (kΩ) BA338 / BA338L : TD = 0.69 CD (µF) RD (kΩ) TD = =)0.15 CN (µF) RN (kΩ) (The internal resistor RN is 25 to 100kΩ.) TD is almost independent of the supply voltage. If RD is small (less than 10kΩ), errors increase. See Fig. 8. Operation notes (1) The input decision level of the BA336 / BA338 / BA338L is a highly sensitive -52dBm. This can cause the output current to return to the input through the common impedance of the ground line. Be sure to decouple the power supply line and prevent common impedance with the ground line. Adding a 0.1µF capacitor between Pin 8 and GND is effective, and we strongly recommend doing so when high current is used. (2) The maximum output current of the BA336 / BA338 / BA338L can be up to 150mA (typical). However, if left in the current limited state for a long time when using a high voltage power supply, damage to the IC can result. Be sure not to exceed the rated power dissipation and the over-current protection time. (3) When the BA336 / BA338 / BA338L is input into a counter IC, make sure the input is above the 2VF threshold (approximately 1.3V). Otherwise, there is a possibility that a miscount will occur due to the output pulse generated (approximately 0.5V, see Fig. 4) when the power is turned on or off. BA336 / BA338 / BA338L If a CN is added in the case of the BA338 / BA338L, its discharge time will cause TD to be slightly longer than it is when CN = 0. Caution is required if TD is made short or a large CN is used. (See Fig. 9). Differences between the noise filters of the BA336 and BA338 / BA338L The basic configurations of the BA336 and BA338 / BA338L are the same, however, the noise filters are different. BA336 The noise filter only operates from the time the power is turned on or muting is turned off to the arrival of the input signal. The power must be turned off or muting turned on each time an output signal is generated. BA338 / BA338L The noise filter operates continuously while the power is on. However, as noted previously the song gap detection time can change slightly due to the capacitor CN connected to the noise filter pin. 731 Audio ICs Electrical characteristic curves External dimensions (Units: mm) 732 BA336 / BA338 / BA338L