How to Develop a Loudspeaker for iPhone 5 with Digital Audio

The Association of Loudspeaker Manufacturers & Acoustics
International presents
How to Develop a Loudspeaker
for iPhone 5 with Digital Audio Interface
Dr. John Oh
Pulsus Technologies
www.almainternational.org
Audio Interface of iPhone 5,
iPad, New iPad, iPod Touch
тАвтАп Lightning connector 30-pin -> 8 pin
тАвтАп New connector is an active component
with a chip inside
тАвтАп Analog audio streaming is not
supported anymore
тАвтАп New interface iAP2 has announced, and
older interface is now called iAP1
www.almainternational.org
Implication
тАвтАп Existing docking speakers are not
compatible with iPhone 5
тАвтАп Converter should be able to convert
USB audio to analog
тАвтАп Existing analog docking solutions cannot
be used in the new designs
тАвтАп iAP1 based digital docking solutions can
coexist with iAP2 for sometime.
www.almainternational.org
What is iAP2?
тАвтАп Will replace iAP1
тАвтАп iTunes control
тАвтАп USB high-speed audio up to 24bit 192
KHz (iAP1 < 16bit 48KHz)
тАвтАп Analog audio removed
тАвтАп Both USB host and device mode (iAP1
only support device mode тАУ iPhone is
USB device)
www.almainternational.org
Start Developing Speakers
for MFI
тАвтАп Registered as a MFI developer
тАвтАп Access MFI portal mfi.apple.com for
resources
тАвтАп mfi.avnet.com for compo, such as
lightening connector, Apple
authentication processor
тАвтАп Choose mfi audio development system
www.almainternational.org
WhatтАЩs inside the new
speakers?
тАвтАп MCU with USB audio interface (with iAP
Library)
тАвтАп Apple authentication chip
тАвтАп DSP for digital audio processing
тАвтАп Audio CODEC
тАвтАп Amplifier
тАвтАп Alternative audio sources (Bluetooth,
FM Tuner, DAB , etc.)
www.almainternational.org
PS8645, all-in-one SoC
PS8645 = USB controller + MCU + audio DSP + PWM
modulator + peripherals
www.almainternational.org
System Configuration
General Docking Speaker
www.almainternational.org
тАвтАп
тАвтАп
тАвтАп
тАвтАп
тАвтАп
тАвтАп
тАвтАп
тАвтАп
8051-based microprocessor with 64kB RAM
Audio inputs
- USB 2.0 full-speed host and device (selectively)
- 3 x stereo AUX and 1 microphone
- 2 x I2S
- 1 x SPDIF (PCM only)
Supports 16~24bit, 8-kHz~96kHz audio streaming
Dual asynchronous sample rate converter with jitter attenuation for low distortion
Fixed audio DSP with 24bit, 192kHz sound processing
- 5-band/ch equalizer
- Digital crossover
- QXpanderтУЗ: virtual surround
- Virtual bass
- TuubilizerтУЗ : smoothly plays output over the dynamic range without clipping noise
- Loudness volume
4-ch nDDC (Digital-to-Digital Converter) with HD PWM correction
Peripherals
- SPI, I2C, UART, JTAG, IR remote controller, real time clock controller, and 23 GPIOs
Value-added functions:
- Source level detector for lower power consumption
- Device firmware update
www.almainternational.org
Development System
for Rapid Prototyping
PS2022
power amplifier
I2S in
180
Speaker
Optical
USB
AUX
(PC)
1
8
0
Power supply
8-pin/30-pin
connector
Apple
authentication coprocessor
PS8645
www.almainternational.org
Main Features
тАвтАп iAP2 ready
- Supports iAP1 and iAP2
- Supports USB host mode and USB device mode
тАвтАп Better sound quality
- Full digital audio streaming and amplification
- Extensive audio DSP algorithms
тАвтАп Low cost
- PS8645, all-in-one SoC for digital audio docks
тАвтАп Faster time-to-market with much less engineering
- Development board for rapid prototyping
- 2.1ch Module that can be immediately used to produce 2.1ch iAP2
docking speakers
- Full SW library of iPod/iPhone/iPad dock functions and peripheral
interfaces
- Easy-to-use GUI SW development tool for real-time speaker tuning
and input configuration
www.almainternational.org
iAP2 ready
тАвтАп iAP2 MFi Device
- USB device mode audio
- HID (Human Interface Device)
- Now Playing
- 16bit 32kHz / 44.1kHz / 48kHz
тАвтАп iAP2 MFi Host
- HID
- Now Playing
- 24bit adaptive, 44.1kHz / 48kHz
www.almainternational.org
Technical Specification
тАвтАп
Audio Input
- 8-pin/30-pin connector for iPod/iPhone/iPad
: Supports both iAP1, iAP2 host, and iAP2 device
- 1 stereo analog input (AUX)
- S/PDIF optical input (PCM only)
- I2S (optional)
тАвтАп
Speaker Output
- 2-ch full-range or two-way / 2.1ch
тАвтАп
Audio algorithms: QXpanderтУЗ, Virtual bass, TuubilizerтУЗ, Digital crossover
filter, 5-band EQ
тАвтАп
Display: 20 digits x 2rows character VFD
тАвтАп
User interfaces:
- Button: Standby, sound mode, volume -, volume +, play/pause, intput
- IR remote control
: Standby, volume -/+, mute, play/pause, previous/next, menu, arrow up/
down, arrow left/right, enter,
source input selection, PC to iPod link control, sound
тАвтАп
Supports Apple iPod authentication processor (2.0B / 2.0C)
тАвтАп
8V - 17V single power operation
www.almainternational.org
2.1ch module for immediate product
launch
тАвтАп
A finished design that can be immediately adopted to mass production
- No additional hardware development or programming is required
тАвтАп
Audio inputs
- 8-pin/30-pin connector for iPod/iPhone/iPad
: Supports both iAP1, iAP2 host, and iAP2 device
- 1 stereo analog input (AUX)
тАвтАп
Speaker Output
- 2.1-ch configuration: 10Wx2ch + 20Wx1ch (THD+N 1%)
тАвтАп
Audio algorithms: QXpanderтУЗ, Virtual bass, TuubilizerтУЗ, Digital crossover filter, 5-band EQ
тАвтАп
Display: 2 sets of LEDs for power mode and sound mode
тАвтАп
User interfaces
- Button : Standby, sound mode, volume -, volume +
- IR remote control
: Standby, volume -/+, mute, play/pause, previous/next, menu, arrow up/down, enter,
sound
тАвтАп
15V/2.7A single power operation
тАвтАп
SNR: >90dB
тАвтАп
Small foot print: 120mm x 70mm (Main board)
www.almainternational.org
2.1ch Reference Design
PS2022
power amplifier
1
8
0
Speaker
1
8
0
PS2022
power amplifier
8-pin connector
Apple 2.0c
PS8645
AUX Power supply
www.almainternational.org
2.1ch Reference Design
www.almainternational.org
Firmware development
environment
тАвтАп Provides a full library of iAP1 and iAP2 including
digital audio streaming, general purpose peripheral
interfaces, and authentication protocols
тАвтАп SDK (Software Development Kit) with full library and
sample source code of all the functions
тАвтАп Users can customize the firmware firmware:
- by adopting reference firmware released
- through PulsusтАЩ SW development support program
тАвтАп Industry standard C-compiler
www.almainternational.org
www.almainternational.org
PDK Development Env. for DSP
тАвтАп System configuration and
real-time speaker tuning
without DSP programming
- Only through USB
connection to PC/Macs, no
specific equipment is
required
тАвтАп Quick adjustment of
equalizer, crossover, and
sound processing
algorithms
www.almainternational.org
PDK
www.almainternational.org
PDK
www.almainternational.org
Dynamic Loudness
www.almainternational.org
Multi-input multi-function high-end docking speaker
www.almainternational.org
Summary
тАвтАп New iPhone 5 pure digital Interface
iAP2 has announced.
тАвтАп Better sound quality through 24bit
digital audio interface enables
implementation of high quality audio
systems.
тАвтАп New development system and SoC
architecture can significantly reduce
development time and cost.
www.almainternational.org