background image

HH

1003 VoIP Speaker Phone

VSMPG

8. DOCUMENT VERSION HISTORY

2008-05-07 Version 2.03

Changed document status to uncontrolled.

Minor updates to instructions in Chapters 3 and 4.

Firmware has

not

been updated since 2.00. There is no need to reload it.

2008-05-06 Version 2.02

Changed layout schematics from version 1.5 to 1.6. They can be found in the same
package as this documentation, under directory

LayoutSchemaV16/

. For details,

see Chapter 7.2.

Firmware has

not

been updated since 2.00. There is no need to reload it.

2008-05-05 Version 2.01

Changed value for capacitor C22 from 10 to 1

µ

F in schematics Figure 7.2, Page 25.

This was done because power-off wouldn’t otherwise work properly.

Firmware has

not

been updated since 2.00. There is no need to reload it.

2008-04-25 Version 2.00

Added all missing features, including conversation and voice recording, and pause
functionality.

Added lots of safety code to allow hot hot-swapping memory cards.

Reliability enhanced.

Changed document name to “VoIP Speaker Phone”.

2008-03-20 Version 1.20

Sound pressure of Far End Signal improved.

Cross-talk handled better.

Ogg Vorbis skipping bug fixed.

Package now includes board layout files.

Occasional VoIP audio crackling fixed.

Schematics updated.

Created Chapter 7.2 for layout files.

Rev. 2.20

2009-12-07

Page

28(30)

Summary of Contents for VS1000+1003

Page 1: ...08 09 18 HH Only VoipAcoustic pdf updated 2 10 2008 09 12 HH VoipAcoustic pdf added to Chapters 6 3 and 9 2 03 2008 05 07 HH Document updates 2 02 2008 05 06 HH Updated layout schematic files 2 01 2008 05 05 HH C22 value changed to 1 µF 2 00 2008 04 25 HH Bug fixes now also recording available 1 20 2008 03 20 HH Better sound schematics change 1 10 2008 02 28 HH Bug fixes added schematics and featu...

Page 2: ...s 7 3 2 Mass Storage Device Features 7 3 3 Media Player Features 7 3 4 User Interface 8 3 4 1 Buttons 9 3 4 2 LEDs 9 3 5 State Machine 10 3 6 Battery Operation and Battery Charging Logic 11 3 7 Feature List 12 4 Using the VoIP Speaker Phone 13 4 1 Preparation 13 4 2 Using as VoIP Speaker Phone 14 4 2 1 Setup 14 4 2 2 Placing a Call 15 4 2 3 Recording a Call 15 4 3 Using as Mass Storage Device 16 R...

Page 3: ... 20 6 1 What Is Echo Cancellation 20 6 1 1 Headsets Are Usually Not a Problem 20 6 1 2 Using a Speaker and a Microphone without Echo Cancellation 21 6 1 3 Echo Cancellation Helps Reducing Speaker Echo 21 6 2 Performance of Echo Cancellation 22 6 3 Limits of Echo Cancellation 22 7 Schematics 23 7 1 Schematics 23 7 2 Layout Files 26 8 Document Version History 27 9 Further Help 29 10 Contact Informat...

Page 4: ...232 Adapter to VLSI s VoIP Board 18 5 2 Two Possible RS232 Jumper Configurations in Some Adapters 18 6 1 VoIP Conversation using Two Headsets 20 6 2 VoIP Conversation Using Microphone and Speaker No Echo Cancellation 21 6 3 VoIP Conversation Using VoIP Speaker Phone with Echo Cancellation 21 7 1 VoIP Speaker Phone Schematics 1 2 24 7 2 VoIP Speaker Phone Schematics 2 2 25 Rev 2 20 2009 12 07 Page ...

Page 5: ...oIP Speaker Phone Chapter 3 presents the basic features of the VoIP Speaker Phone and Chapter 4 shows how to set up and use it Chapter 5 tells how to update the firmware of the VoIP Speaker Phone demonstration unit If you have units with an older firmware version you should start with the update For more information on what echo cancellation is and what it does read Chapter 6 Chapter 7 presents fu...

Page 6: ...l scale signal SNR 70 90 dB Interchannel Isolation Cross Talk 40 dB Interchannel Gain Mismatch 0 5 0 5 dB Frequency Response 0 2 0 2 dB Full Scale Output Voltage Peak to peak 1 3 1 51 1 7 Vpp Deviation from Linear Phase 5 Earphone Output Load Resistance AOLR 16 302 Ω Earphone Output Load Capacitance 100 pF 1 This is the value directly from the VS1003 analog outputs 10 Ω series resistors limit this...

Page 7: ... personal phone when earphones are plugged in The phone reports itself as a PC audio device that is capable of playing back at a sampler ate 32 kHz in stereo and recording at 8 kHz in mono Auto adjusting echo cancellation is performed for the 8 kHz microphone signal The unit can be used as a telephone conversation recorder using one touch recording 3 2 Mass Storage Device Features The VoIP Speaker...

Page 8: ...ower Figure 3 1 The User Interface The user interface consists of seven buttons and four LEDs as shown in Figure 3 1 Six of the buttons are applicable for the final product with a rechargeable battery always installed while Reset is for development board use only Note Some boards have markings that differ from the ones in these pictures When in conflict the markings on these figures are authorativ...

Page 9: ...ed for more than 2 seconds when power is on turns power off If pushed for more than approx 5 seconds resets the device Pause VoIP Speaker Phone mode Pauses recording Press Pause again to continue Pause Media Player mode Pauses playback or recording Press Pause again to continue Reset Resets the device immediately This button is only used for debugging it not needed on the end user product 3 4 2 LE...

Page 10: ...r Pause Push Pause Push Pause Push Pause Push Pause Recorder Voice USB connected Disconnect USB Conversation lost will be recording memcard Remove lost will be recording memcard Remove Record Push Record Push remove memcard eject on PC or Figure 3 2 VS1000 VS1003 VoIP Speaker Phone State Machine Figure 3 2 presents a simplified state machine of the VS1000 VS1003 VoIP Speaker Phone Actions listed i...

Page 11: ...of batteries will require a different charging logic For testing VLSI Solution has used 230 mAh batteries which are approx 30 17 4 mm and provide playback time of 4 5 hours when using earphones For longer playback times use batteries with a higher capacity IMPORTANT Battery charging is performed by a chip not designed by VLSI Solution Oy While VLSI Solution has tested and measured battery charging...

Page 12: ...Microphone amplifier and high performance 16 bit 8 kHz mono audio recording High performance stereo 16 bit audio DAC earphone amplifier and mono speaker amplifier Embedded 5 V to internal voltages regulators with voltage level detectors for single 5 V USB power supply Configurable VLSI Solution can make customizations for customers that are plac ing mass quantity orders including but not limited t...

Page 13: ... in Figure 1 1 on page 5 1 VoIP Speaker Phone main board 2 Loudspeaker 3 USB cable 4 RS232 programming adaptor 4 1 Preparation Before starting using the VoIP Speaker Phone perform the following initial steps 1 Unwrap the VoIP Speaker Phone board speaker and USB cable 2 Attach the speaker to the board as shown in Figure 1 1 on page 5 Put the speaker as far away from the microphone as possible Rev 2...

Page 14: ...ng Tone to VLSI VS1000B ADC b Mac You can set VLSI VS1000B ADC as the default audio device using the control panel Alternatively if you don t want the VoIP Speaker Phone to take over all audio start up Skype and open Preferences menu There select Audio and set Mic Speaker and Ring Tone to VLSI VS1000B ADC c Linux Select VLSI VS1000B ADC as your input and output device in your system sound setup me...

Page 15: ...e remember that echo cancellation doesn t remove echo from your end but from the other people s end See Chapter 6 for details Note that some programs like Skype have their own custom echo cancellation logics that may sometimes interfere with the internal echo cancellation of the device 4 2 3 Recording a Call You may starting recording a call at any moment by pushing the Record button When the reco...

Page 16: ...start up as an audio device To turn it into a USB mass storage device push the UMass button 4 You should now see a new mass media storage drive appearing If you haven t used your media card before you may have to format it first on your computer 5 When you want to go back to VoIP mode either push the UAudio button or select Eject device on your computer 4 3 2 Using Mass Storage Device Mode When ru...

Page 17: ...h the Power button 5 If you have media files on the memory card they should now start playing from the speaker or the earphones depending on whether you have earphones connected or not 6 To turn off the unit push the Power button for two seconds 4 4 2 Using the Player In playback mode you can skip to the previous and next audio files using the Prev and Next buttons You can also turn volume up and ...

Page 18: ...r build it yourself the adapter consists of one single MAX3232 compatible RS232 signal converter Figure 5 1 How to Connect an RS232 Adapter to VLSI s VoIP Board If loading a program to VLSI Solution s example boards connect the adaptor cable to the main board as shown in Figure 5 1 The black thread should go to pin 1 If you use a custom board you will have to use your own adapter Figure 5 2 Two Po...

Page 19: ...rom2 bat etc 7 You should see roughy the following text appearing on the screen VSEMU 2 1 Nov 28 2007 11 50 01 c 1995 2007 VLSI Solution Oy Clock 11999 kHz Using serial port 1 COM speed 115200 Waiting for a connection to the board Caused interrupt Chip version 1000 Stack pointer 0x19e0 bpTable 0x7d4d User program entry address 0x4083 eeprom bin includes optional header 16 sections 539 symbols Sect...

Page 20: ...oblem PC PC Speaker Near End Speaker Far End FES FES FES NES NES FES NES Internet NES Figure 6 1 VoIP Conversation using Two Headsets VoIP protocols like Skype are typically designed to work with headsets that have good separation between the earphones and the microphone Figure 6 1 shows two telephone application users who are both using headsets Because there is no significant leakage between fro...

Page 21: ...ample Skype takes some measures to limit echo from setups like this by dynam ically adjusting audio gains but its power is limited Even when gain adjustment does work it may sound unpleasant The Near End Speaker can diminish echo by turning volume down on his speaker but that often makes the other end hard to understand 6 1 3 Echo Cancellation Helps Reducing Speaker Echo cancel Echo Skype phone FE...

Page 22: ...e to get linear speakers that have as little freqeuncy response peaks as possible Echo cancellation cannot correct for non linear systems If a speaker clips or distorts sound echo cancellation will not work and audible pops will be heard by the Far End Speaker unless a VoIP program like Skype itself happens to remove them by its fuzzy logic echo limiter Thus speakers should not be overdriven While...

Page 23: ...in Figures 7 1 and 7 2 Some parts don t need to be populated for production units These include External microphone connection Note The length of VS1003 s microphone lines MICP and MICN should be made as short as possible The demo boards have these lines much longer than recommended which may cause trouble Rev 2 20 2009 12 07 Page 23 30 ...

Page 24: ...HH VS1000 1003 VoIP Speaker Phone VSMPG 7 SCHEMATICS Figure 7 1 VoIP Speaker Phone Schematics 1 2 Rev 2 20 2009 12 07 Page 24 30 ...

Page 25: ...HH VS1000 1003 VoIP Speaker Phone VSMPG 7 SCHEMATICS Figure 7 2 VoIP Speaker Phone Schematics 2 2 Rev 2 20 2009 12 07 Page 25 30 ...

Page 26: ... C22 has been made smaller although the new 1 µF C22 can be inserted into the place of the old 10 µF one The layouts have been drawn with Integra and are provided in the following formats tx txf NTR Three alternative Integra s internal formats G Gerber files nc and drl txt Excellon drill files pdf PDF images dxf Exported AutoCAD unknown whether this works There is also a BOM list file called VoIPB...

Page 27: ...n ejected Added mention of VS1000b c s 4 GB MMC card size restriction to Chapter 3 2 2008 09 18 Version 2 11 Only VoipAcoustic pdf updated Firmware has not been updated since 2 10 There is no need to reload it 2008 09 12 Version 2 10 Addede links to a new document called VoIP Acoustic Design with the file name VoipAcoustic pdf to Chapters 6 3 and 9 Increased AVDD in player mode to allow better SD ...

Page 28: ...ged value for capacitor C22 from 10 to 1 µF in schematics Figure 7 2 Page 25 This was done because power off wouldn t otherwise work properly Firmware has not been updated since 2 00 There is no need to reload it 2008 04 25 Version 2 00 Added all missing features including conversation and voice recording and pause functionality Added lots of safety code to allow hot hot swapping memory cards Reli...

Page 29: ...sound pressure Optional equalization to optimise speaker frequency response There are also other features that are to be added to the production version of the software VLSI Solution is willing to help to tune these parameters for customers who intend to start mass production of VS1000 1003 VoIP Speaker Phones NOTE If you have excessive amount of acoustic echo i e so much signal comes from your sp...

Page 30: ...FORMATION 10 Contact Information VLSI Solution Oy Entrance G 2nd floor Hermiankatu 8 FI 33720 Tampere FINLAND Fax 358 3 3140 8288 Phone 358 3 3140 8200 Email sales vlsi fi URL http www vlsi fi For support ask support vlsi fi Rev 2 20 2009 12 07 Page 30 30 ...

Reviews: