TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
Systems and Solutions
Industrial Digital Voice
July, 2009
Rudan Bettelheim
Agenda
►
What is
Digital Voice?
►
Why use VoIP
►
Freescale Industrial
Digital Voice Solution
►
Target Applications
TM
3
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
Analog Embedded Voice
Embedded voice functionality is widely used in
Industrial applications today, typically implemented as
an analog intercom or telephone
•
Campus emergency call centers
•
Elevator emergency phone/intercom
•
Hospital patient to nurse intercom
•
Drive through restaurant order system
•
Access point intercom
•
Fire alarm public address system
•
Gas (petrol) pump customer assistance intercom
•
Operation room voice recording system
•
Intruder alarm audio monitoring
TM
5
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
55
Digital Voice Applications –
Intercom and Public Address Systems
Factory Automation
Remote Monitoring
Manufacturing Equipment Support
Operator Panels
HVAC & Building Control
Access Control Intercom
PA Systems
Monitoring Systems
Remote Signal Monitoring
Remote Sensor Monitoring
Point of Sale
Card Payment Terminals
Automatic Teller Machines
Vending Machines
Ticket Vending Machines
Gas Pumps
Remote Customer Support
Restaurant order systems
Medical Instrumentation
Home Patient Monitoring
Patient Monitoring
Remote Signal Monitoring
Patient Intercom System
OR Voice Recorder Systems
Remote Physician Systems
Equipment Support
Fire/Security
Fire Alarm PA
Fire Alarm Control Panels
CCTV Cameras & Audio Monitoring
Intruder Alarm Control Panels
Intruder Alarm Audio Monitoring
Access Control Intercom
Emergency Phones
Site Wide Cordless Phones
TM
7
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
77
Why VoIP?
VoIP can be used to replace current analog intercom and public
address systems, and to add voice support to new applications:
Advantages of using VoIP:
►
Use existing (wired or wireless) network, no analog cables
►
Better sound quality (avoiding analog noise)
►
Ability to easily route call different locations:
•
To offer support in different languages
•
To offer 24/7 support
•
To offer specialized support, e.g. technical
•
Easily consolidate support at any location (worldwide)
►
May be able to use existing application (
Cold
Cold
Fire
Fire
®
®
) controller to minimize
additional cost
►
Easy to record and archive calls on a computer system
What is VoIP?
VoIP - Voice over Internet Protocol
•
A method of sending (audio) signals such as voice over a data network using TCP/IP
•
Unlike the telephone network, it does not require a dedicated connection
•
So far, mainly used as a low cost (or no cost) alternative to the traditional telephone,
but can be used for any voice communication and other signals
Mary
Proxy Server
INVITE
180 Ringing
180 Ringing
200 OK
200 OK
Conversation
BYE
200 OK
ACK
ACK
RING
ANSWE
HANG
UP
Steve
INVITE
Ethernet
Ethernet
VoIP
Server
Internet
TM
9
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
9
VoIP & IP PBX Network
IAX
PSTN
Internet
SIP
SIP
FXS
/FX
O
IA
X
SIP
Digital Intercom Major Components
Voice only End-Point:
•
“Push to connect”
intercom end-point
•
Has no other functionality, except bi-
or uni-directional audio communication
Examples:
Fire alarm public address speaker
Emergency call point
House intercom
Application with Voice Functionality End-Point:
•
Processor controls application, and intercom function
Examples:
Elevator car control panel with emergency intercom
Drive through restaurant order system with intercom and menu display
Security control panel with Public address system
Hospital bed controller with intercom to nurse’s station
Digital Intercom/VoIP SIP Server:
•
Server for initiating VoIP communications
•
Includes IP address “telephone book”
•
May include gateway to public phone system
Example: Asterix
SIP server
TM
11
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
The
Cold
Cold
Fire
Fire
®
®
DSP Advantage
Three Chip Architectures for Providing
VoIP Functionality
Tandem
Processors
System on a
Chip
Soft DSP
(
Cold
Cold
Fire
Fire)
GPP=General Purpose Processor
•
Most low to mid range 32-bit processors do
not have sufficient performance for audio
(voice) processing.
•
Most low to mid range DSPs
do not have
enough control capability to control an
application and manage a network connection.
This generally necessitates the use of both
a 32-bit CPU and a DSP for VoIP
applications
Most
Cold
Cold
Fire
Fire
implementations include the
Enhanced Multiply Accumulate (EMAC) giving
it the capability to process audio (VoIP),
control an application and manage a network
connection in a single (low-end) CPU
This results in a simpler system and lower
system cost
TM
13
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
13
13
Freescale Cold
Cold
Fire
Fire
®
®
based VoIP Solution Examples
Software
Hardware
Hardware
VoIP Signal Processing
Internet
M
ic
rophone
Audio
CODEC
Speaker
Analog to Digital
and
Digital to Analog
Conversion
Anal
og
SSI
Vocoders
G.711
G.729
iLBC
AEC/LEC
Voice
Compression
and
Decompression
API
Call Control
and Signaling
(SIP)
API
RTOS
(Linux)
Protocol
Stacks
and
Low Level
Drivers
(TCP/IP)
API
Ethernet
MAC & PHY
(wired or
Wireless)
Ethernet
Call Setup
and Control
Packet Handling
and Streaming
Bit Transmission
and Reception
CODEC
MCF53721/MCF53281
PHY
Embedded Voice (VoIP) System Solution
Software
Hardware
Hardware
Internet
Mic
rophone
Audio CODEC
Speake
r
Analog to Digital
and
Digital to Analog
Conversion
Ana
log
SSI
Vocoders
Voice
Compression
and
Decompression
API
Call Control
and Signaling
(SIP)
API
Protocol Stacks
and
Low Level
Drivers
(TCP/IP)
API
Ethernet
MAC & PHY
(wired or
Wireless)
Ethe
rnet
Call Setup
and Control
Packet Handling
and Streaming
Bit Transmission
and Reception
Supplied by Encore Software as
binary, with some parameters (such
as echo cancelation) tunable.
Suitable for 1 or 2 Audio channel
applications.
Algorithms supported:
G.168 LEC, AEC, DTMF, CPT, AGC,
G.711, G.729AB, CID gen.
iLBC & G.722
OpenSIP based telephony/media MiddleWare
solution from Arcturus with proprietary
components.
Open source portions supplied as source code,
proprietary portions as binary.
Telephony application includes support for:
Caller-ID, Call Waiting, Hold/Retrieve, Call
Transfers, Conference, Hotline, Push-to-Call,
Speed Dials, CID Privacy, Outgoing Call Blocking,
Call Back on Busy…
Part numbers include software
licenses and technical support:
•
M53281KIT ($749)
•
M53281MOD ($99)
•
MCF53281CVM240 ($13.93)
•
MCF53721CVM240 ($12.94)
Software solution is supplied as a fully integrated and tested package
RTOS (µClinux)
Open Source Linux (2.6)
Available separately as open source BSP
Device Management
Management MiddleWare
from Arcturus
including
web user interface, remote provisioning, voice response
M53281KIT
M53281MOD
TM
15
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
15
Tools
API
Management Middleware: Engine
processes
interfaces
services
Engine
Engine
Policy Matrix
Runtime Database
Persistent Database
Configuration Engine
Factory Database
Web UI
Management Middleware: Tools
processes
interfaces
services
SNMP
Remote Provisioning
XML / Other
Voice Response
Engine
Tools
Tools
TM
17
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
Setting Up an Account
Setting up the Speed Dial and Push-to-Call Demo
Speed Dial #
TM
19
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
19
ColdFire
ColdFire V3 Core
•
Up to 200 Dhrystone 2.1 MIPS @ 240 MHz
•
Enhanced MAC Module and HW Divide
Memory
•
16K bytes Unified Cache
•
32K bytes SRAM
Features
•
Optional Integrated LCD Controller
•
STN and TFT
•
Up to 800x 600(SVGA) resolution
•
USB 2.0 host controller
•
USB 2.0 Host/Device/On-the-go Controller
•
High Speed ULPI support
•
10/100 Ethernet MAC (external PHY)
•
CAN 2.0B Controller
•
Synchronous Serial Interface (SSI)
•
3 UARTs
•
Queued Serial Peripheral Interface (QSPI)
•
I
2
C bus interface
•
4 ch. 32-bit timers with DMA support
•
4 ch. 16-bit PWM timer
•
16 ch. DMA controller
•
16-bit DDR / 32-bit SDR SDRAM controller
•
Up to 94 General-Purpose I/O
•
System Integration (PLL, SW Watchdog)
•
Digital Voice (VoIP) software package (including
licenses and support)
•
1.5V Core, 1.8V/2.5V/3.3V Bus I/O
•
Temperature Range: -40°C to +85°C
•
Target resale price from $7.99 @ 10k qty
Part Number
10/100
FEC
SVGA
LCD
CAN
Package
Target
10K Resale
MCF53281CVM240
Yes
Yes
Yes
256 MAPBGA
$8.99
MCF53721CVM240
Yes
No
Yes
256 MAPBGA
$7.99
System
Bus
Controller
DDR/SDR
SDRAM
Controller
&
Chip Selects
GPI/O
JTAG
PLL
BDM
EM
A
C
V3
ColdFire
ColdFire®
Core
32K
SRAM
16K
Unified
Cache
4ch 32-bit
Timer
UART
QSPI
I
2C
USB
host
USB
h/d/otg
UART
UART
4ch
PWM
VoIP Software
µClinux
MiddleWare
SIP
Vocoders
SSI
Optional
Additional Modules
SVGA LCD
Controller
16ch DMA
CAN
68K/
68K/
ColdFire: MCF53281, MCF53721
ColdFire
Updated: 14 Jan 09
VoIP Kit
Kit includes:
•
VoIP Module
•
Host board
•
Cables / Power supply
•
Getting Started Guide
•
Dedicated Support Site Access
•
Audio headset
•
P&E BDM wiggler
•
GNU tools
•
VoIP software
•
All licenses for kit use
•
Power supply
•
Out of the box VoIP demo
Optional Daughter Cards
•
Video Interface (M53281)
•
SLIC (FXS)
•
Push-to-Call Speakerphone
•
Part number: M53281KIT
•
Suggested Resale: $749
TM
21
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
21
Hardware Introduction - Host Board
USB
Connector
Mic/Spkr
Daughter
Card
Connector
Ethernet
Power
Serial
LEDs
Daughter
Card
Connector
M53281MOD VoIP Module
MCF53281
Processor
Console For Debug
UART0 – RS232
BDM Header
for debug
LCD Header
Ethernet
Transformer
USB VBUS
Controller
MIC2026
CAN BUS
Controller
SN65HVD230D
Ethernet PHY
DP83848
Audio Codec
LM4930
32Mbyte
DDR-SDRAM
MT46V
16Mbyte
NOR Flash
AM29LV
Serial Transceiver
MAX332
Module
Top
Module
Bottom
Module includes:
•
MCF53281CVM240 processor
•
32 MB DDR-SDRAM
•
16 MB NOR Flash
•
Ethernet PHY
•
CAN Transceiver
•
Audio codec/amplifier
•
VoIP software
•
All licenses for VoIP software use
•
Part number: M53281MOD
•
Suggested Resale: $99
TM
23
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
23
VoIP Kit Summary
►
Only solution designed specifically for Industrial embedded voice applications
►
No NREs
►
Price includes software licenses
►
Processors are capable of controlling complex applications together with VoIP
►
Solution is customizable to suit a wide range of applications
►
Supports “Push to Call” “Telephone” “Click-to-call” and
“Broadcast” modes
►
Complete configuration and device management solution
►
Solution can be migrated to many other
Cold
Cold
Fire
Fire
®
®
processors
VoIP Kit :
•
Price = $749 (one)
VoIP Module :
•
Price = $99 (1K resale)
VoIP Processor (Solution) (MCF53281CVM240, MCF53721CVM240):
Telephony Support
Telephony Applications:
SIP(2) signaling
RTP media
Digit Map
Standard Timers
Call Progress Tone Support
Codec Management
Conference
DTMF In-band
DTMF in RTP
Instant Messaging
Methods Supported:
INVITE, ACK, BYE, CANCEL
REGISTER, INFO, SUBSCRIBE
NOTIFY, REFER
REPLACES in REFER
Additional System
Components:
STUN
NTPc/s
QoS / VLAN
Audio Drivers
Hardware Codec support:
Si32xx family
TI TLV320xx
LM49xx family
Various 3rd party CODECs
Software Licensing:
•
No NRE
•
Single (click through) license
•
All licensing costs included in processor price
Complete off-the-shelf hardware:
•
Easy to integrate
•
Pre-qualified
Field proven Software:
•
Broad control of deployed devices
•
Consistent device management API
•
Secure and Authenticated / Standards Based
•
Field Upgradeable
BSP:
•
Customizable / Controllable by Owner
Support:
•
Technical support provided by all Partners
•
Partners are domain experts
What’s New!
•
Broadcast Voice / Mass Notification (tech lab)
•
Demo –
Voice Enabled Alarm Panel (tech lab)
Telephony Functions:
Type-1/2 Caller-ID Support
CID Information
CID and User Provided Privacy
CID Time and Date
Caller-ID Block
Anonymous Call Rejection (ACR)
Message Waiting Indicator (MWI)
Call Waiting (CW)
Cancel Call Waiting (CCW)
Auto Call-Back on Busy (ACB)
Attended Transfer -
REFER
Attended Transfer -
REPLACES
Unattended Call Transfers
Transfer Ring Back on NOTIFY
Call HOLD and RETRIEVE
Held Call Ring Back
Speed dials
Hotline Function
Codec preference order
Outgoing call block
Hotline / Push-to-call
Click-to-Call Support (Q3’08)
Broadcast Mass Notification (Q3’08)
Stored Announcements (Q3’08)
MDNS Device Discovery (Q3’08)
TM
25
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
25
End-to-End
Cold
Cold
Fire
Fire
®
®
Digital Voice Solution
IAX
PSTN
Internet
SIP
SIP
FXS
/FX
O
IA
X
SIP
MCF5445
X
MCF53281
MCF53271
X
MCF53281
MCF53271
X
MCF53281
MCF53271
X
MCF5445x
X
Provisioning Overview
M53281KIT
SIP End-Point
Webserver
HTT
Ps
Con
nec
tion
1.
M53281KIT Connects to Webserver
2.
Provides Username and Password
3.
Provides firmware version number
4.
Provides serial number
5.
Asks for provisioning file
6.
Downloads file
TM
27
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
27
Asterisk
®
VoIP Configuration
Ethernet Switch
DHCP Server
Laptop
Laptop
M54455EVB
Asterisk
SIP Server
M53281KIT
SIP End-Point
M53281KIT
http(s)
http(s)
https
https
SIP
http
SIP
SIP
RTP
RTP
Yay!
►
What Is Mass Notification
•
Ability to simultaneously broadcast to many listeners
•
Paging and Public Address Systems
•
Intercom and Telephone systems
►
Design Objectives
•
One-to-many
•
One-to-all
•
Proxy Agnostic
•
No single point of failure
•
Highly configurable
•
Tones / Alarm notifications
•
SIP end-point co-existence
•
SIP Proxy co-existence
•
SIP rebroadcaster
TM
29
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or
service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
29
ColdFire: MCF5445x
ColdFire V4m Core
•
Up to 410 Dhrystone 2.1 MIPS @ 266 MHz
•
MMU, EMAC
•
Cross-Bar-Switch technology (XBS)
Memory
•
16K bytes I-Cache, 16K bytes D-Cache
•
32K bytes SRAM
Features
•
10/100 Ethernet MACs (external PHYs)
•
Hardware Accelerated Encryption
•
Random Number Generator
•
DES, 3DES, AES, Block Cipher Engine
•
MD5, SHA-1, HMAC, Hash Accelerator
•
ATA/ATAPI-6 Controller (UDMA100 capable)
•
3 UARTs
•
DMA supported Serial Peripheral Interface (DSPI)
•
I
2
C bus interface
•
Synchronous Serial Interface (SSI)
•
USB 2.0 Host/Device/On-the-go Controller
•
Full Speed/Low Speed Transceiver
•
High Speed ULPI support
•
4 ch. 32-bit timers with DMA support
•
4 ch. Periodic Interrupt Timer
•
16 ch. DMA controller
•
16-bit 133MHz DDR2/DDR Controller
•
Supports LPDDR, DDR1, and DDR2
•
Up to 135 General-Purpose I/O
•
System Integration (PLL, SW Watchdog)
GPI/O
JTAG
PLL
BDM
32-bit
Flexbus
DDR/DDR2
Controller
32K
SRAM
16K
D-Cache
4-ch. 32-bit
Timer
UART
I²C
10/100
FEC
16-ch. DMA
DSPI
USB
H/D/OTG
UART
UART
SSI
16K
I-Cache
EM
A
C
V4m
ColdFire
Core
MMU
Optional
Additional Modules
Crypto
ATAPI
2nd 10/100
FEC
PCI
Controller
Updated: 02 Feb 06
1.5V Core, 1.8V/2.5V SDRAM Bus I/O
Temp Range: 0
°
C to +70
°
C and -40
°
C to +85
°
C 360 TEPBGA, 256 MAPBGA
Prices Starting at $7.95 Resale at 10k Volume
Serial Boot
Facility
Support Web Sites
►
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=M53281KIT
►
http://www.arcturusnetworks.com/
TM
31
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.
ColdFire Home Page
http://www.Freescale.com/ColdFire
Latest documentation
Application notes
Reference Designs
Evaluation board schematics
Links of interest
Sample code
ColdFire Discussion Groups
http://forums.freescale.com
Expert advice from the developer community
moderated by Freescale ColdFire application
engineers
http://www.wildrice.com/ColdFire
Historical 68K/ColdFire discussion group not
affiliated with Freescale
ColdFire
®
Book
http://www.amtpublishing.com
The book combines detail technical description
of ColdFire
®
systems with software examples
Soon to be available on Amazon.com for $49
Cold
Cold
Fire: Web Resources & Book
Fire
Updated: 26 September 08
Industrial Digital Voice (VoIP)
Factory Automation
Remote Monitoring
Manufacturing Equipment Support
Operator Panels
HVAC & Building Control
Access Control Intercom
PA Systems
Monitoring Systems
Remote Signal Monitoring
Remote Sensor Monitoring
Train PA Systems
Point of Sale
Card Payment Terminals
Automatic Teller Machines
Vending Machines
Ticket Vending Machines
Gas Pumps
Remote Customer Support
Restaurant order systems
Medical Instrumentation
Home Patient Monitoring
Patient Monitoring
Remote Signal Monitoring
Patient Intercom System
OR Voice Recorder Systems
Remote Physician Systems
Equipment Support
Fire/Security
Fire Alarm PA
Fire Alarm Control Panels
CCTV Cameras & Audio Monitoring
Intruder Alarm Control Panels
Intruder Alarm Audio Monitoring
Access Control Intercom
Emergency Phones
Site Wide Cordless Phones
Digital Voice Applications:
•
Intercom Systems
•
Public Address Systems
•
ATAs, IP Phones
Complete Hardware, Software, and Support Solutions – No NRE, Royalty included in product price:
•
Voice only End Point –
MCF53721
•
Application with Voice functions –
MCF53281, MCF53721
TM
33
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009.