Low Power Microphone Acquisition and Processing for Always-on Applications Based on Microcontrollers

Similar documents
Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

Using the VM1010 Wake-on-Sound Microphone and ZeroPower Listening TM Technology

Designing with STM32F3x

32-bit ARM Cortex-M0, Cortex-M3 and Cortex-M4F microcontrollers

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

AN5008 Application note

Leverage always-on voice trigger IP to reach ultra-low power consumption in voicecontrolled

INTRODUCTION. What is the LSN50

Capacitive MEMS accelerometer for condition monitoring

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

STANDARD CELL LIBRARIES FOR ALWAYS-ON POWER DOMAIN

AN310 Energy optimization of a battery-powered device

F4-(A)HDMOE-J098R3627-5P

ADQ214. Datasheet. Features. Introduction. Applications. Software support. ADQ Development Kit. Ordering information

Sensors Fundamentals. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

CATALOG. ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies

ZLS38500 Firmware for Handsfree Car Kits

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Microprocessor & Interfacing Lecture Programmable Interval Timer

F2-(A)HCDMO-B125T26-6CP

MULTIMODE DIGITAL BOTTOM PORT SISONIC MICROPHONE

ADC Resolution: Myth and Reality

SENTRY. AC410x family + BT-V2.0. User s Manual

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

AI Application Processing Requirements

Intelligent and passive RFID tag for Identification and Sensing

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features

VM1010. Low-Noise Bottom Port Piezoelectric MEMS Microphone Data Sheet Vesper Technologies Inc. With Wake on Sound Feature

PC-based controller for Mechatronics System

REAL TIME DIGITAL SIGNAL PROCESSING. Introduction

Preliminary. Wake on Sound Piezoelectric MEMS Microphone Evaluation Module

Production Analyzer Rev (USB + FireWire) Rev. 2.x (USB only)

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization)

Generating DTMF Tones Using Z8 Encore! MCU

The Mote Revolution: Low Power Wireless Sensor Network Devices

Choosing the Best ADC Architecture for Your Application Part 3:

Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs

THE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS

Training Schedule. Robotic System Design using Arduino Platform

White Paper A Knowledge Base document from CML Microcircuits. Adaptive Delta Modulation (ADM)

System-on-Chip Two-Way Radio

Audio in ecall and Cluster. Clancy Soehren MSA Applications FAE Summit 2016

Lecture 10, ANIK. Data converters 2

Hello, and welcome to this presentation of the STM32L4 power efficiency optimization with an external SMPS.

IM69D120. Description. Features. Typical applications. High performance digital XENSIVTM MEMS microphone

MaxxBass Development Recommendations

Telecommunication Electronics

MOS (PTY) LTD. E Single Channel PIR Signal Processor. Applications. General Description. Features. Digital Sensor Assembly with E931.

MEMS Oscillators: Enabling Smaller, Lower Power IoT & Wearables

Experiment # (3) PCM Modulator

ZLS38503 Firmware for Voice Prompting and Messaging Firmware Manual

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

SPM0437HD4H-B. Digital SiSonic TM Microphone. The SPM0437HD4H is a miniature, highperformance,

Design and FPGA Implementation of an Adaptive Demodulator. Design and FPGA Implementation of an Adaptive Demodulator

Ultra-low-power 32-bit MCU ARM-based Cortex -M3, 128KB Flash, 16KB SRAM, 4KB EEPROM, LCD, USB, ADC, DAC. STM32L151x6/8/B. STM32L152x6/.

LMV1024/LMV1026 (Stereo) PDM Output with Pre-Amplifier for Electret Microphones

AD9772A - Functional Block Diagram

Triscend E5 Support. Configurable System-on-Chip (CSoC) Triscend Development Tools Update TM

5 Channel Multifunctional PWM Controller. HomLiCon LCH5T. Technical Specifications

The Mote Revolution: Low Power Wireless Sensor Network Devices

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

GENESIS TECH PROJECT

Exercise 3: Sound volume robot

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT, 250KSPS ADC

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

1. R-2R ladder Digital-Analog Converters (DAC). Connect the DAC boards (2 channels) and Nexys 4 board according to Fig. 1.

ADQ108. Datasheet. Features. Introduction. Applications. Software support. ADQ Development Kit. Ordering information

Energy autonomous wireless sensors: InterSync Project. FIMA Autumn Conference 2011, Nov 23 rd, 2011, Tampere Vesa Pentikäinen VTT

VC7300-Series Product Brief

MULTIMODE DIGITAL BOTTOM PORT SISONIC TM MICROPHONE

A Smart Multy-Sensory System for Environmental Monitoring. DIEEI Dipartimento di Ingegneria Elettrica, Elettronica e Informatica

TELIKOU Intercom System

Agilent U2500A Series USB Simultaneous Sampling Multifunction DAQ Devices

Software defined radio transceiver (SDR) CW & RTTY Skimmer Server Weak Signal Propagation Reporter (WSPR)

AN4378 Application note

MFD900. The most industrial ultrasonic test system for flaw detection and thickness measurements

CMOS MT9D111Camera Module 1/3.2-Inch 2-Megapixel Module Datasheet

STM32L162VC STM32L162RC

ATB200. Datasheet. ATB200 GPRS / GPS based Fleet Management Terminal. 1

AM and FM MODULATION Lecture 5&6

WiMOD iu880b. Datasheet. Document ID: 4100/40140/0111. IMST GmbH Carl-Friedrich-Gauß-Str KAMP-LINTFORT GERMANY

USB-TEMP and TC Series USB-Based Temperature Measurement Devices

DAB+ Voice Break-In Solution

Instrument Cluster Display. Grant Scott III Erin Lawler Mike Carlson

FAN3852. Microphone Pre-Amplifier with Digital Output

Chapter 10 Adaptive Delta Demodulator

CMOS MT9D112 Camera Module 1/4-Inch 3-Megapixel Module Datasheet

SigmaDSP processors for audio signal processing

JUMA-TRX2 DDS / Control Board description OH2NLT

SPH0641LM4H-1. Digital Zero-Height SiSonic TM Microphone With Multiple Performance Modes. The SPH0641LM4H-1 is a miniature, highperformance,

WTI-100 Simplex wireless Interface Instruction Manual

8/21/2017. Executive Summary Problem Statement & Solution System Requirements System Analysis

Enhancing Analog Signal Generation by Digital Channel Using Pulse-Width Modulation

displays und titelstory Wie geht PCAP-Technologie? Und der Hit: Glas von der Rolle!

FPGA BASED DATA AQUISITION SYSTEMS FOR PHYSICS EXPERIMENTS

LNS ultra low phase noise Synthesizer 8 MHz to 18 GHz

Participants: A.K.A. "Senseless Confusion" Scott McNeese, Cirrus Logic. Facilitator: Ron Kuper, Sonos, Inc.

Analog and Telecommunication Electronics

Next Generation SAR ADC Simplifies Precision Measurement

D.T.MUX ACQUISITION SYSTEM...

Transcription:

Low Power Microphone Acquisition and Processing for Always-on Applications Based on Microcontrollers

Architecture I: standalone µc Microphone Microcontroller User Output Microcontroller used to implement the complete application, targeting low power (example: wearable, remote controller)

Architecture II: µc connect to application processor Microphone Microcontroller Application Processor Microcontroller used for low-power voice detection and microphone acquisition (example: µc used as audio sensor hub)

Architecture III: standalone µc connected to the cloud Microphone Microcontroller Cloud Voice Service Voice Service High-End Microcontroller used to implement the complete application: low-power voice detection, microphone acquisition, cloud connection and voice-answer decoding (example: Amazon Alexa)

Different types of MEMS microphones Microphone type Pro Cons Analog Power consumption ADC performance ADC power consumption External amplifier Digital I2S Integration Power consumption Digital PDM Standard Digital interface Power consumption Multimode Digital interface Power consumption

PDM: Pulse Density Modulation Relative density (local average) of the pulses corresponds to the analog signal's amplitude 0101101111111111111101101010010000000000000100010011011101111111111111011010100100000000000000100101 Quantization noise is very high, but is pushed to very high frequency Signal spectrum Quantization Noise

PDM to PCM conversion Increase sample resolution from 1 to 16 bits Decrease sampling frequency from 2 MHz to e.g. 48 KHz Low-pass filtering and downsampling Decimation filter Quantization noise Fd Fs

How to acquire a PDM microphone with a microcontroller Microphone I2S CLK STM32 SW Software: PDMtoPCM library provided with the STM32Cube MIC Data to I2S Data I2Sx Microphone CLK Out MIC Data to DFSM In DFSDM STM32L4 HW Hardware: DFSDM = Digital Filter for Sigma Delta Modulators

Standard Architecture PDM Input DFSDM HW IP PDM LP Filter and Decimation SW processing Signal Conditioning PCM Output PCM Output Voice Trigger Detection Indicator (trigger ID) Led Blink Caption: STMicroelectronics Audio flow Sensory IT

TrulyHandsfree TM Voice Control World s leading (by far!) always-on always listening phrase spotting for wakeup words and hands-free control Fast, reliable, noise robust and far field Fixed, User-Enrolled and User-Defined voice triggers Speaker Verification and Identification Phrase-spotted command sets up to 50 words in limited listening window Trigger to Search no pause needed between trigger and following command/query Numerous awards and implementations in over 2B products Deeply Embedded on STM32 small footprint/low power

Platform used for the tests Flexible board power supply Through USB or external source Integrated ST-Link/V2.1 Mass-storage device flash programming Virtual COM port for communications 2 push buttons, 2 color LEDs Arduino extension connectors Easy access for add-ons One STM32 MCU flavor with 64 pins Morpho extension headers direct access to all MCU I/Os

Microcontroller Block Diagram STM32L452

Using DFSMD in low-power voice acquisition DFSDM acquired with DMA Microphone acquisition is performed in sleep mode Every 16ms the µc wakes up to process the audio STM32L4 Cortex-M4 DMA clk data IRQ DFSDM Bus RAM MSI Sent to all

Power Consumption example using microphone clocked at 1 MHz µc @1.8V Current STM32L452 1.2 ma run run sleep

How to optimize from here: Sound Detector DFSDM HW IP SW processing PDM Input PDM LP Filter and Decimation Signal Conditioning PCM Output PCM Output Low-Power Sound Detector (LPSD) Voice-Trigger Detection Indicator Caption: STMicroelectronics Audio flow Sensory IT

Power Consumption example using microphone clocked at 1 MHz LPSD state µc @1.8V Current STM32L452 ~360 µa Voice Trigger Detection µc @1.8V Current STM32L452 1.2 ma

Sound Detector considerations LPSD (Low-Power Sound Detector) is provided by Sensory and is integrated in the voice-recognition engine The impact of a custom sound detector has to be evaluated with the thirdparty voice-recognition provider Audio is processed only after sound detection, therefore the voice recognition might miss the beginning of the trigger when it s said in a quiet environment

How to optimize from here: ULP with watchdog DFSDM HW IP SW processing PDM Input PDM LP Filter and Decimation Signal Conditioning PCM Output Analog watch dog Used to enter/exit ULPSD state PCM Output Low-Power Sound Detector (LPSD) Voice-Trigger Detection Indicator Caption: STMicroelectronics Audio flow Sensory IT

Power Consumption example using microphone clocked at 1 MHz ULPSD state µc @1.8V Current STM32L452 ~130 µa LPSD state µc @1.8V Current STM32L452 ~360 µa Voice Trigger Detection µc @1.8V Current STM32L452 1.2 ma

ULP with watchdog considerations During ULP the µc is not buffering the audio in RAM, therefore the voice recognition might miss the beginning of the trigger when it s said in a quiet environment If the watchdog is tuned correctly the system should wake up from ULP and stay in LPSD mode when there is minimum background noise (user in the room) and enter in ULP mode only for long periods without any noise (for example at night) STM32L4 clk IRQ data DFSDM Sent to all MSI

How to optimize from here: multimode microphones Mode Clock Power consumption SNR (speech freq) Standard ~1MHz - ~3MHz 600/700µA ~64 db SNR Low Power ~350KHz - ~800KHz ~250µA ~64 db SNR Datasheets specify only SNR at normal low-power frequency (768KHz) We made some tests at lower frequencies with a few parts: Fclk SNR (db)* 800 64.305 768 64.184 600 59.541 384 43.099 (*) the measurement BW is 20Hz 8kHz. By limiting the upper measurement BW, the user will see improved SNR at lower Fclk, at the expense of audio bandwidth.

Power Consumption example using multimode microphone clocked at 500 khz ULPSD state µc @1.8V Current STM32L452 LPSD state ~70µA µc @1.8V Current STM32L452 ~200µA Voice Trigger Detection µc @1.8V Current STM32L452 1.2 ma

Multimode microphones considerations Lower is the required microphone clock lower is the microcontroller internal clock needed to acquire the microphone Standard clock in low power mode is 768KHz (16KHz audio obtained by decimation by 48) From datasheet the multimode microphones work with frequencies lower than 768KHz, but from measurements there is a trade off between SNR and clock The power consumption of a multi mode microphone in low-power mode (768KHz) is much lower than a standard microphone (250µA vs 650/700µA)

Possible improvements LPSD: Change the sound detector in order to detect only speech and not sounds. Such a VAD will require more MIPS (more power consumption) What s the statistic of each power mode in a real use case? Clock scaling: use low microphone clock only for the ULP mode and switch to higher clock while executing LPSD and voice recognition Using SMPS: Possibility to supply µc VCORE logic with an external DC/DC (bypass of internal LDO regulators)

Example with SMPS Possibility to supply µc VCORE logic with an external DC/DC (bypass of internal LDO regulators) Allow to get lower power consumption on same SW application. Freq R2 (26MHz) R1 (80MHz) Algorithm While(1) @ 3.3V SMPS efficiency SMPS ON SMPS OFF Gain 85% 37µA/MHz 93µA/MHz 60% 85% 39µA/MHz 108µA/MHz 64%

Summary Tuning: Tuning of the parameters depends on the target application/use case. Different levels of low-power modes: depending on target power consumption you can decide to implement only certain low-power modes or certain microphone clocks/configuration Overall system: Look at the overall system requirement not only at the power consumption in the lowest mode.