bluecoin - voice and music over an embedded ble platform · 2021. 5. 29. · bluetooth-low-energy...

23
Central Labs – AST Robotics Bluecoin - Voice and Music Over an Embedded BLE Platform

Upload: others

Post on 10-Aug-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Bluecoin - Voice and Music Over an Embedded BLE Platform

Page 2: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Voice communication: a key driver of innovation since 1800’s 2

Page 3: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Voice Automation “in the things”:Voice Internet Assistant 3

Presentation Title

Play Music

Control Lighting, heating, …

News, sport, traffic, weather, …

Answer questions, create to-do lists, shopping lists, …

Place orders online, use other online services: taxi, pizza, …

Call me a taxi

E-gadgets,Wearables

Page 4: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

BlueCoin: the Robotic EarAugmented hearing and motion sensing

SoundLocalization

Embedded Processing

Motion, Activity and Balance

Acoustic Beamforming

Bluetooth Low Energy

Page 5: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

BlueCoin – Augmented hearing & Sensing 5

• Microphone array processing

• Wide band audio over BLE (BlueVoice)

• Sensor fusion

• Complete development kit

Battery Expansion

Core System

STM32F446• ARM Cortex-M4F@180MHz - 128KB RAM

u4 Microphone Array (4x MP23DB01MM)

Bluetooth-Low-Energy radio (BlueNRG-MS)• Bluetooth 4.1, multiple role simultaneously

6+3 axis inertial module (LSM6DS3+LIS3MDL)

Absolute pressure sensor (LPS22HB)

Main components:

Page 6: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Full Embedded Sensing Software Development Kit

4 x MP23DB01MM LSM6DS3 LPS22HBLIS3MDL BLUENRG-MS BALF-NRG-01D3

Page 7: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Voice to Cloud: MEMS and Audio System quality 7

Voice Terminal

Voice & data

Gateway

Cloud

Page 8: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Digital MEMS Microphones

SensingA/D and Digital i/f

ASIC

Sensor

Sound Inlet

PDM (Pulse Density Modulation) interface:• 1 to 3 MHz• 1-bit resolution• Fully digital

• Capacitive membrane• Omnidirectional• Analog output

Bottom port Top port

8

• Ultra compact, low power, omnidirectional• System-in-package combines:

• capacitive sensing MEMS element• ASIC interface

Page 9: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

OmnidirectionalMEMS microphone

Omnidirectional microphones Sensitivity is the same in all directionsPower of captured sound is independent from its Direction of Arrival.

0.5

1

1.5

30

210

60

240

90

270

120

300

150

330

180 0

2-D Polar Pattern3-D Polar Pattern

9

Page 10: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Beamforming

• Delay and Sum• Endfire / Broadband• Advanced GSC

Software Building Blocks:MEMS-microphones.augmented 10

Time delay of arrival (TDOA) estimation

Source Localization

• GCC_PATH• X-Correlation

h(t)

far end

Room

Acoustic Echo-Cancellation

Page 11: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Acoustic Beamforming algorithms 11

𝑓𝑓1 .

Ʃ

𝑓𝑓2 .

𝑓𝑓3 .

𝑓𝑓𝑁𝑁 .

HW/SWSystem noise

AdaptiveFiltering

ƞ1

ƞ2

ƞ3

ƞN

Y

Sound Source

Environmental Noise

Microphone ArrayBeamformer

11

Page 12: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

First Order Directional Beam Patterns

0.2

0.4

0.6

0.8

1

30

210

60

240

90

270

120

300

150

330

180 0

2-D Polar Pattern3-D Polar Pattern

“Figure of 8” beamforming is achieved by subtraction of 2 microphones signals

• Directionality is achieved by combining two microphones and by processing their synchronized audio output.

Example:

12

Page 13: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Delay = ∆

+-

m1

m2

Cardioid beamforming• Cardioid beam pattern implements single-sided Audio capture

Cardioid Beamforming Basic Scheme

2-D Polar Pattern3-D Polar Pattern

13

m1 m2

Page 14: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

libBeamforming100: Strong Cardioid 14

2 DMA cardioids in “back to back” configuration

Back Front

µ4 array: MEMS microphone side by side;the smallest array you can build

4 x MP23DB01MM

Page 15: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Polar pattern tests

Test setup:• Microphone Array mounted on a rotating support• Inter-microphone distance: 4mm• Rotation in steps of 10 degrees• Gaussian White Noise played by high quality loudspeaker

• Resulting beampattern• Blue: omnidirectional microphone• Red: «Basic cardioid» mode• Green: «Strong» mode

15

Page 16: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Beamforming: ASR Test

WORDS

NOISE

16

Male and female spoken words - at 0°

Gaussian White Noise - at 90°

Test setup:

Inputs

Output

4 synchronous output channels :• Omnidirectional microphone• Basic Cardioid• ASR Ready• Strong Cardioid

Recorded words are sent to Google ASR and recognition data are collected

Page 17: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

libBeamforming100: ASR test results 17

AS

R c

onfid

ence

Signal to Noise ratio

omnidirectionalcardioidASRstrong

Page 18: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

BlueVoice:augmenting Bluetooth Smart with Audio

Vendor SpecificProfile over a

Standard BlueTooth 4.x protocol stack

Advanced Audio Compression and streaming architecture

Bluetooth Smart Low Power protocol design

Page 19: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

BlueVoice mapping over standard Bluetooth 4.0 protocol stack

Audio exported

as a Service

Central Unit

(Master)

Peripheral Unit

(Slave)

BlueVoice Vendor Specific Profile

Service

Characteristic

CharacteristicDescriptor

Client Server

19

Audio processing

Generic Access Profile (GAP)

Generic Attribute Profile (GATT)

Attribute Protocol Security Manager

Logical Link Control and Adaptation Protocol

Host-Controller Interface

Link Layer Direct Test Mode

Physical Layer

Bluetooth Low Energy Stack

GAP configuration

GATT configuration

Application: BlueVoice Profile (vendor specific)

Page 20: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

BlueVoice:embedded-to-Cloud communication 20

Augmented Audio

Terminal

Platform Signals

CommInterface

Cloud-basedServices

MobileDevice

smart

Page 21: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Sensors to Cloud architecture 21

Integrated Terminal

Platforms Signals

Communication

3rd Party

Cloud-basedServicesGateway

Page 22: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics

Fast Prototyping

System Software

DevelopmentReference

Design

Evaluation, tracking & monitoring

ST Development Kits for IoT: Integrated & Modular Design environment 22

Page 23: Bluecoin - Voice and Music Over an Embedded BLE Platform · 2021. 5. 29. · Bluetooth-Low-Energy radio (BlueNRG-MS) • Bluetooth 4.1, multiple role simultaneously 6+3 axis inertial

Central Labs – AST Robotics