Vous êtes sur la page 1sur 3

AUTOMATIC VOLUME CONTROL SYSTEM

M1757

Abstract: Presented system is a simple implementation of automatic volume control system for TV-sets, home audio systems, etc. The system measures current volume level from Audio AUX output and controls audio volume by IR commands. The idea is simple in many situations TV-set user has to adjust the volume: when he or she watch louder part of the movie and do not want disturb sleeping child, when changing channel channels usually have different volume level and when advertisements are transmitted (they are usually transmitted with significantly higher audio level which is very annoying). In those and many other situations TV watcher adjusts volume because it is not kept and constant level by the senders. My proposition is to try to make some of those adjustments automatically. The system has been built over the SKP8Cmini13 Starter Kit. The system is equipped with PIN photodiode, IR LED, and the audio plug which is to be connected to audio-out socket in the TV-set. PIN photodiode is used only during configuration to capture IR commands from TV-sets remote controller: Volume-UP and Volume-DOWN. There is no need to change TVsets internal circuits. It is a simple, battery powered device. IR commands can be learned from original TVs remote controller. This feature makes the system compatible with probably any TV-set with IR remote control system. The system does not use any feedback it corrects TVs audio level using unregulated audio AUX output (speaker output shouldnt be used here). Volume can also be over regulated louder parts will be adjusted to volume lower than normal. Main system concepts and ideas: 1. IR learning system which allows to learn any IR sequence assuming that amplitude pulse modulation with constant frequency is used. Carrier frequency can be from about 20 kHz to over 60 kHz. Learning subsystem is very simple it uses only one PIN photodiode and one resistor. The working range of the receiver is about 1 to 5 cm. Learning system uses TimerX which supports an interesting Pulse Period Measurement Mode. 2. Learned IR sequences are written to flash memory to be later used to transmit IR commands to TV-set. 3. To send IR commands TimerX is used in Pulse Output Mode. 4. To measure peak value of audio signal simple peak value detector with Shottky diode and A/D converter (AN2) is used. 5. Vref is connected to Vcc it is therefore unstable and depends on battery voltage. To measure the battery voltage (and calculate corrections to audio measurement) 2.5 V reference voltage source connected to AN3 is used. 6. The system is designed to be very power efficient it wakes up periodically (10 times per second) for a moment, and between those wake up events the system current is only about 50 A. Periodic wake up have been implemented using TimerY clocked from low speed internal oscillator. Total average current consumption of working system is about 150 A.

Described system can be used not only to TV-sets but also to audio systems, and other audio electronic equipment controlled by IR.

Schematic diagram:
LED1 LED2 LED3

+ R7 AV cc/ V ref V cc C6 C7

+4.5V (batt.) Gnd

MODE R4 R1 R2 R3 R5 R6 P11 P10 P45 P13 ~Reset P12

AN2 D1 R12 R13 C5

Audio IN Gnd

IC 1
C3 C4

TXout

T1 R11

R9 Xin X1 Xout SW2 SW 1 CNVss R8 AVss C1 Vss IVcc AN3 PD1 P02 CNTR0 IRLED1 R10

C2

IC2

Vous aimerez peut-être aussi