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 Application1999: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)
Previous article:Analysis and implementation of software simulation frequency refinement process
Next article:Design and implementation of general industrial video image overlay
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- 28335scififo interrupt receiving and sending
- 1. RS232 communication circuit
- macropad keyboard
- DSP Development Trend
- Regarding the built-in pull-up resistor when MSP430 IO is used as input!
- Help, where can I find a high frequency magnetic core that supports 300MHz
- LSM303AH Code and PCB Library
- [ATmega4809 Curiosity Nano Review] Unboxing
- [CY8CKIT-149 PSoC 4100S Review] + Use of Timer/Counter
- The register value returned by the lis25ba operation is incorrect