Voice chip APR9600 and its application in telephone remote control system

Publisher:skyhcgLatest update time:2006-05-07 Source: 电子技术应用 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

     Abstract: APR9600 is a new voice processing chip using analog storage technology. The pin functions and typical application circuits of APR9600 are given, and the design of the telephone remote control system composed of it and the microcontroller AT89C51 is emphasized.

     Keywords: Voice processing microcontroller telephone remote control

      In recent years, the field of digital voice processing technology has gradually developed into two camps - traditional digital voice technology and new analog voice technology. The former converts the voice signal into a digital code through analog-to-digital conversion (A/D), stores it in various digital memories (ROM, SROM, EEPROM, etc.), and then synthesizes an approximate code through digital-to-analog conversion (D/A) during restoration. Analog voice has relatively poor sound quality and complex structure; while the new analog voice processing technology directly stores and stores voice analog quantities in a special non-volatile analog memory, which has good sound quality and simple structure. The voice recording and playback chip APR9600 takes advantage of the latter technology - new analog voice processing technology.

      During recording, the external audio signal is amplified by the microphone amplifier with automatic gain adjustment inside the chip APR9600. After being processed by the internal filter and sampling circuit, it is stored in the dedicated flash memory FLASHRAM in analog form. Since FLASHRAM is a non-volatile device, it will be interrupted for a long time. The electronic voice will not be lost. During playback, the reading logic circuit in the chip takes out the signal from the FLASHRAM, sends it to the power amplifier through a low-pass filter, and then directly drives the external speaker to play the sound.

      1 Pin function

      APR9600 is a 28-pin dual in-line standard package DIP chip. The function description of each pin is shown in Table 1 .

      The working voltage of APR9600 is 4.S~6.SV, the quiescent current is 1uA, the working current is 2SmA, and the driving power is 12mW (external speaker 16Q).

    2 Control mode and typical application circuit

      APR9600 typical application circuit is shown in Figure 1 . APR9600's recording and playback control has multiple modes, which provides great convenience for ordinary users. Generally speaking, it is divided into two modes: serial control and parallel control, which are realized by the settings of chips MSEL1, MSEL2 and /M8. The corresponding relationship is shown in Table 2.

      In the parallel control mode, each segment has a corresponding key control. The recording and playback of any segment does not affect other segments. The control is simple and can be divided into eight segments at most. It is suitable for several speech segments that are unrelated and have no order. Place; In the serial control mode, the languages ​​are recorded and played in a certain order, with few control keys and segmented control is inconvenient. It is suitable for situations where several speech segments are interrelated and have a certain sequence.

     3 Application in telephone remote control system

      The author has designed and produced a multi-channel telephone remote control, through which people can use the telephone to perform switch control and timing functions on various household appliances anytime and anywhere. Because telephone lines are networked in various places, the remote control distance can span provinces and cities. This system adopts microcontroller control and utilizes voice chips to achieve duplex communication to provide prompts for different operations and information feedback on the status of the controlled party, so that the operator can understand the information of the controlled party in a timely manner and make the product interactive and intelligent.

      The overall circuit block diagram is shown in Figure 2. In addition to the AT89CS1 as the main control CPU unit, the entire circuit also has ring detection, simulated off-hook, dual tone multi-frequency demodulation, voice chip control, electrical drive unit, etc.

      The system APR9600 is pre-set to the eight-segment parallel control mode. During the design, the "MSEL1", "MSEL2" and "/M8" terminals of the APR9600 are all set to 1 (connected to the positive power supply). Set the RE terminal to the recording state, press and hold /M1 to start recording the first segment, release the key to stop. Press /M2 again to record the second paragraph, and continue pressing /M8 to record the eighth paragraph. The eight speech segments recorded by this system are shown in Table 3.

      The playback of the corresponding speech segment is triggered by software. The SP+ and SP- terminals of this voice chip are connected to the phone line and fed back into the phone receiver. The user can hear the prompts from the system control voice chip on the phone and perform corresponding operations.

       The overall structure of the software is divided into five parts: (1)system initialization;(2)ring current detection;(3)password comparison;(4)channel on/off;(5)change password . The process is shown in Figure 3 .

      The following introduces the allocation techniques of limited voice resources in this system, mainly introducing how to use two segments of voice to achieve voice feedback of the status of 8-channel controlled equipment. According to normal thinking, each channel of receiving equipment should have two segments of voice prompts for pre-operation status and post-operation status. 8-channel equipment requires 16 segments of voice. During actual programming, a one-byte RAM unit is used to register the eight-way controlled device status, as shown in Table 4.

      The 8 bits of this RAM unit respectively represent the status of 8 electrical devices (1 means on, 0 means off). Modify the binary bit corresponding to the RAM unit through software query. When it is 1, the feedback voice is "This electrical appliance has been turned on". When it is 0, the feedback voice is "This electrical appliance has been turned off". Due to space limitations, the specific procedures are omitted. This design method is also applicable to other types of voice chips.

    references

     1 new item. Voice chip WS1300 and microcontroller control technology. Microcomputer and Application1999:18(4)

     2 Beijing Zhongqing Century Technology Development Company. Compilation of data on voice chips and their application circuits, 1999

     (Date of receipt: 1999-07-19)

 

 
Reference address:Voice chip APR9600 and its application in telephone remote control system

Previous article:Analysis and implementation of software simulation frequency refinement process
Next article:Design and implementation of general industrial video image overlay

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号