Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller



Similar documents
Serial port interface for microcontroller embedded into integrated power meter

CELL PHONE AUDIO CONTROLLED POINT OF SALE TECHNOLOGY REVIEW REPORT. Alana Sweat Group 9 October 18, 2008

Microtronics technologies Mobile:

Computer and Set of Robots

POCKET SCOPE 2. The idea 2. Design criteria 3

A Smart Telephone Answering Machine with Voice Message Forwarding Capability

A PSTN Terminal for FSK Decoding and DTMF Dialing Applications

Voice Dialer Speech Recognition Dialing IC

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Specification and Design of a Video Phone System

Display Message on Notice Board using GSM

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

7a. System-on-chip design and prototyping platforms

Lecture N -1- PHYS Microcontrollers

Lesson 10:DESIGN PROCESS EXAMPLES Automatic Chocolate vending machine, smart card and digital camera

Microcontroller Based Anti-theft Security System Using GSM Networks with Text Message as Feedback

Chapter 13. PIC Family Microcontroller

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Am186ER/Am188ER AMD Continues 16-bit Innovation

ADVANCED FIRE ALARMING SYSTEM THROUGH MOBILE PHONE

2.0 Command and Data Handling Subsystem

Cisco PAP2T Internet Phone Adapter with 2 VoIP Ports Cisco Small Business Voice Gateways and ATAs

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

TO HANDPHONE BURGLAR ALARM USING PIC 16F877A MICROCONTROLLER

Keywords ATM Terminal, Finger Print Recognition, Biometric Verification, PIN

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Lab Experiment 1: The LPC 2148 Education Board

Digital Signal Controller Based Automatic Transfer Switch

Cellphone Based Interactive Voice Response System for College Students

ATA: An Analogue Telephone Adapter is used to connect a standard telephone to a high-speed modem to facilitate VoIP and/or calls over the Internet.

Atmel Norway XMEGA Introduction

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Microcontrollers in Practice

Dual-tone multi-frequency signaling

The Programming Interface

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers

What is a System on a Chip?

Atmel s Self-Programming Flash Microcontrollers

Eliac Call Recording - Configurator Guide. Eliac. Call Recording System Ver. 2.x.

RAM & ROM Based Digital Design. ECE 152A Winter 2012

Multichannel Voice over Internet Protocol Applications on the CARMEL DSP

Miniature Surface-Mount DAA for Audio or Data Transfer XE0402LCC BLOCK DIAGRAM

Telecommunications Switching Systems (TC-485) PRACTICAL WORKBOOK FOR ACADEMIC SESSION 2011 TELECOMMUNICATIONS SWITCHING SYSTEMS (TC-485) FOR BE (TC)

Discovering Computers Living in a Digital World

Any-Rate Precision Clocks

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Cellphone Based Device Control With Voice Acknowledgement

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

Accurate Measurement of the Mains Electricity Frequency

Ingar Fredriksen AVR Applications Manager. Tromsø August 12, 2005

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

System Design Issues in Embedded Processing

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Eureka Technology. Understanding SD, SDIO and MMC Interface. by Eureka Technology Inc. May 26th, Copyright (C) All Rights Reserved

Video Conferencing Unit. by Murat Tasan

How To Use The Meridian 1 Option 61C On A Microsoft V2.2.1 (Ios) With A Microtower (Microtower) And A Microsonic (Microsonic) Phone (Micros) With An

2-Wire/4-Wire Telephone Line Interface. XE0204 Block Diagram

Data Transfer between Two USB Flash SCSI Disks using a Touch Screen

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

Digital Voice Services User Guide

Computer Systems Structure Input/Output

Intelligent Home Automation and Security System

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Microprocessor or Microcontroller?

Lesson 7: SYSTEM-ON. SoC) AND USE OF VLSI CIRCUIT DESIGN TECHNOLOGY. Chapter-1L07: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

-Helping to make your life betterwww.person-to-person.net

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

AA9604 Auto Attendant

Digital Voice Services Residential User Guide

EEM870 Embedded System and Experiment Lecture 1: SoC Design Overview

Cell Phone Operated Land Rover

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS

Starlink 9003T1 T1/E1 Dig i tal Trans mis sion Sys tem

Remote PLC system using GSM network with application to home security system

SC14425 Complete Baseband processor for DECT Base Stations. with Caller-id and Handsfree PRELIMINARY. General Description. Features.

Computer Systems Structure Main Memory Organization

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

DIALER SPECIFICATION VERBATIM MODULAR SERIES VSS

EASY PROGRAMMING AND TRANSACTION ANALYSIS SOFTWARE

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

Centrepoint Technologies. Phone System Solutions for: Smart homes Home businesses Small offices Branch/Remote offices DESKTOP PHONE SYSTEM.

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Clear Choice Communications. Digital Voice Services User Guide

GAS LEAKAGE DETECTION & AUTO ON-OFF GAS SYSTEM

Serial Communications

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

FortiVoice. Version 7.00 User Guide

Transcription:

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller Zafar Ullah Senior Application Engineer Scenix Semiconductor Inc. Leo Petropoulos Application Manager Invox TEchnology 1.0 Abstract In recent years, there has been a surge in telephone answering machines that store messages in solid-state storage devices. The current generation of telephone answering devices (TAD) uses digital signal processors (DSP) to compress digitized voice so that it can be stored in conventional DRAM or FLASH memory. This approach requires complicated compression algorithms and several devices. This paper describes a new design that replaces DSP chips with a general-purpose high-speed 8-bit microcontroller from Scenix Semiconductor and Multilevel memory from Invox Technology. Telephony functions, such as Caller ID, DTMF detection, Bell 202 detection and Ring detection, are implemented in software in the microcontroller. Answering machine-specific functions, such as message storing, DTMF generation and outgoing message storage are implemented in analog storage. The main advantage of this design, based on a price attractive 8- bit microcontroller and analog storage, is to reduce cost and complexity and enhance voice quality. This design greatly simplifies the design effort by eliminating relatively expensive DSP without sacrificing the quality of the end product. 2.0 Basic TAD blocks Figure 1 shows the main blocks for the TAD. This section describes the functions of each block in detail. Analog Front End: All telephone answering machines include an analog front end to pre-process and condition incoming and outgoing voice messages. The complexity of the front end is determined by the physical layer connection to the outside world. The Fig.1 Basic TAD blocks major job of the analog front end is to condition the high line voltage used in the telephone line so that they are compatible with the low signal levels of the integrated circuits. This block includes lightning and surge protection, reduction of the 90-volt ring signal, and 48 volt off line signal and 6 volt on-line signal. Ring Detector: In a cell phone the master processing unit with the phone or base station itself generates ring signals. This logic signal can be fed to the main processor of the TAD to initiate the TAD functions. In a land line based telephone answering machine, the ring signal is produced at the central office and is composed of a 90- volt rms 20 Hz signal that is impressed across the telephone line. In this design, this ring signal is detected by the microcontroller. Master Control: Master control refers to message management, call management, and memory management as well as the user interface. In this design the same microcontroller is used to do the master control. DTMF Detection & Generation: All the modern answering machines must be able to detect DTMF tones in order to allow remote access. Some also must be able to generate DTMF tones to enable dial out and forwarding the messages. In this design, the DTMF generation and detection is implemented by the same microcontroller in software. DTMF tones can also be pre-stored in the analog memory chip and played back onto the telephone line under the control of the microcontroller unit. Caller ID: In United States, caller id function requires FSK data between the first and the second ring to be detected and demodulated. This data is then processed so that caller information can be displayed and recorded. In this design, caller id function is implemented by the microcontroller in software. The caller id information can be stored in the analog memory. Outgoing messages/voice prompts: The same analog memory used to record incoming messages can be used to record the outgoing message. The microcontroller used for the master control accomplishes this task by reserving certain sectors within the analog storage array for the outgoing message. Some answering machines also include the built in prompts such as time and date stamps. These prompts can be factory programmed into the analog memory in sectors that are write protected. 138 International IC 99 Conference Proceedings

Call Progress Detection: Call progress detection involves sensing of the line voltages and off-hook tones. This also can be done by the microcontroller in software. 3.0 Design Implementation 3.1 Processor Unit: In the past, telephony functions, such as, FSK (frequency-shift key) data generation and detection, DTMF (dual-tone, multi-frequency) dialing generation and detection, and Caller ID could not be implemented with an 8-bit embedded microcontroller because performance levels were not high enough to support them. As a result, either DSP or ASIC (application specific IC) had to be designed or a 16 or 32-bit microcontroller were used. Now, the 8-bit Scenix Semiconductor SX Series microcontroller, which has performance of 100 MIPS (million instructions per second) and a deterministic interrupt architecture, overcome this roadblock by providing the ability to perform these functions in software. Unlike other microcontroller that add functions in the form of additional silicon, the SX Series uses its industry-leading performance to execute functions as software modules, or Virtual Peripherals. These are loaded into a high-speed (10 ns access time) on-chip flash/ EEPROM program memory and executed as required. In addition, a set of on-chip hardware peripherals is available to perform operations that cannot readily be done in software, such as, comparators, oscillators etc. A complete TAD reference design based on the SX28AC, which runs at up to 50 MHz and has a 50 MIPS data throughput rate, has been developed by Scenix Semiconductor Inc. The Virtual Peripherals used are: 16-bit timers, DTMF detection/generation, FSK detection, Caller ID, Call waiting, Call progress and LCD drive. To achieve the lowest implementation cost, the reference design uses discrete components, rather than a module for the DAA (digital access arrangement) block. An opto-isolator and a transformer provides coupling to the telephone network that complies with the Bell 202 standard. The cost of the components in such a circuit is significantly less than that of a DAA module. 3.1.1 DTMF and FSK Detection: The DTMF signal is applied to the SX28AC I/O pin after it passes through the analog-processing block. The MCU converts this from analog to digital by sampling it in software using the Goertzel discrete Fourier transform (DFT) algorithm. Eight separate DFTs simultaneously sample the signal looking for the row and column frequencies that identify digits within the DTMF matrix. To be properly selective on the target frequencies (within 5 Hz), a performance level of at least 50 MIPS is required. In addition, the standard for the DTMF tone duration allows it to be as short as 50 milliseconds (ms), which the SX28AC can easily handle. Most other 8-bit MCU implementations require 150 ms or more to detect the tone. The FSK signal from the analog-processing block is applied to the I/O pin of the SX28AC. Detection of the FSK data for the caller id (1300 Hz representing a logic 1 and 2100 Hz representing a logic 0) and its conversion to a digital format is done by an on-chip hardware comparator using a form of zero-crossing detection. The comparator is one of the basic set of silicon peripherals included in the SX28AC. Table 1 shows the actual ROM and RAM size to implement the virtual peripheral functions in software. DTMF FSK Ring Caller Detect Detect Detect ID ROM 394 78 32 119 (words) RAM 45 16 4 32 (Bytes) Table 1 3.2 Recording and Playback Device: Non-volatile multi-level flash memory from Invox Technology is used as the recording and playback device in the design. Up to thirty minutes of audio recording and playback can be accommodated using an IVM1700 device. Invox Technology devices can be cascaded for longer duration of recording or greater digital storage. Invox Technology devices utilize multi-level analog recording to store voice signals. This allows the device to reproduce audio signals in their natural form, eliminating the need for encoding and compression; which introduce distortion. The smallest addressable memory unit is called a sector. Each sector is composed of 3008 memory cells. During audio recording one memory cell is used per sample clock cycle. IVM1700 devices allow the sampling rate to be adjusted from 4 to 8 khz. When recording is stopped an end of data (EOD) bit is programmed into the memory. This prevents play back of silence when recording is stopped before the end of a sector. During playback, the stored signals are retrieved from memory, smoothed to form a continuous signal and finally amplified before being fed to an external speaker or the telephone line. All memory management is handled by the SX microcontroller. The microcontroller communicates with the IVM1708 through a simple Serial Peripheral Interface (SPI) port. The SPI port can run on as little as three wires or as many as seven depending on the amount of control necessary. The IVM1700 devices also provides digital storage capability. Digital storage is used to accommodate storage of caller ID information as well as time and date stamps. 4.0 Conclusion Since a lot of TAD functions are performed by the microcontroller in software, this design eliminates the need for separate chips for DTMF detection, ring detection, Caller ID etc., thus provide savings on board area and cost. This design greatly simplifies the design effort by eliminating a relatively expensive DSP without sacrificing the quality of the end product. Reference 1. Jack Quinn, Digital Data Communication, Prentice Hall, 1995. 2. Scenix Semiconductor Inc., Modem Reference Design Using the 50 MHz SX28AC 8 bit MCU, 1998. 3. Invox Technology, TAD design based on the IVM1700 family, Application note, 1998. Authors contact details Zafar Ullah Sr. Application Engineer Scenix Semiconductor Inc. 3160 De La Cruz Blvd., Suite 200, Santa Clara CA 95054 408/327-8888(tel) 408/327-8880 (fax) zafar.ullah@scenix.com Leo Petropoulos Application Manager Invox Technology 2605A Winchester Blvd. Campbell, CA 95008 408-871-1900(tel) 408-871-1971 (fax) leop@invoxtech.com International IC 99 Conference Proceedings 139

140 International IC 99 Conference Proceedings Presentation Materials

International IC 99 Conference Proceedings 141

142 International IC 99 Conference Proceedings

International IC 99 Conference Proceedings 143

144 International IC 99 Conference Proceedings

International IC 99 Conference Proceedings 145