Wireless hands-free using nrf24e1

Similar documents
AAA. Figure 1: Test setup for output power measurement

Sharing crystal with a MCU

nrf905-evboard nrf905 Evaluation board PRODUCT SPECIFICATION GENERAL DESCRIPTION

nrf Performance Test Instructions nrf24l01+ Application Note

Preliminary GHz Transceiver-µController-Module. Applications PRODUCT SPECIFICATION FEATURES MICROCONTROLLER MHz

Figure 1. LDC Mode Operation Example

Table 1 nrf2402 quick reference data. Type Number Description Version. Table 2 nrf2402 ordering information

DRF1278F 20dBm LoRa Long Range RF Front-end Module V1.11

RF4432 wireless transceiver module

White paper: Interfacing a 2.4GHz Transceiver to a Philips Twin-Eye Laser Sensor

Power and ground is applied to the nrf401 Loop Module via connector footprint J1. Voltage range on this input must be restricted to +2.7V to +5.25V.

RF NiceRF Wireless Technology Co., Ltd. Rev

VC7300-Series Product Brief

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

Catalog

Using a 2450BM14A0002 Balun with nrf24le1 QFN32

PCB layout files for single ended RF I/O layout has been made for the Nordic Semiconductor nrf24z1 Single Chip 2.4 GHz audio streamer [1].

Lecture on Sensor Networks

Single chip 433MHz RF Transceiver

AN0504 Tag Design with swarm bee LE

DNT2400. Low Cost 2.4 GHz FHSS Transceiver Module with I/O

433MHz Single Chip RF Transmitter

Workspace for '6-pulse' Page 1 (row 1, column 1)

VT-CC1110PA-433M. Wireless Module. User Guide

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

RF4463F30 High Power wireless transceiver module

RF1212 RF1212 Ultra-low Power ISM Transceiver Module V2.0

802.11g Wireless Sensor Network Modules

AN4378 Application note

Radiocrafts Embedded Wireless Solutions

LoRa1276 Catalogue

LoRa1278 Wireless Transceiver Module

76-81GHz MMIC transceiver (4 RX / 3 TX) for automotive radar applications. Table 1. Device summary. Order code Package Packing

Catalogue

LORA1278F30 Catalogue

LORA1276F30 Catalogue

UNIVERSAL ISM BAND FSK TRANSCEIVER MODULE. WITH 500mW OUTPUT POWER RFM12BP

CMT2300A. Ultra Low Power Sub-1GHz Transceiver CMT2300A. Features. Applications. Ordering Information. Descriptions.

Hello, and welcome to this presentation of the STM32 Infrared Timer. Features of this interface allowing the generation of various IR remote control

User Guide for the Calculators Version 0.9

nrf52832 Errata Attachment Anomaly 109 Addendum DMA access transfers might be corrupted

UNIVERSAL ISM BAND FSK TRANSCEIVER MODULE

DRF4431F27 27dBm ISM RF Transceiver Module V1.10

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

RF4432F27 Catalog

Sensor Network Platforms and Tools

DRF5150S Wireless Sensor Transmitter Module V1.20

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

RN-21. Class 1 Bluetooth Module. Applications. Features. Description. Block Diagram. DS-RN21-V2 3/25/2010

The Design and Realization of PKE System Based on ARM9

RF4432PRO wireless transceiver module

Single Chip High Performance low Power RF Transceiver (Narrow band solution)

Catalog

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5.

Test Plan for Hearing Aid Compatibility

HY448 Sample Problems

Wireless M-Bus to Wired M-Bus with RC1180- MBUS

AN797 WDS USER S GUIDE FOR EZRADIO DEVICES. 1. Introduction. 2. EZRadio Device Applications Radio Configuration Application

HM-TRS Series Transparent Wireless Data Link Module

AN4392 Application note

Project: IEEE P Working Group for Wireless Personal Area Networks (WPANS)

GDM1101: CMOS Single-Chip Bluetooth Integrated Radio/Baseband IC

USER'S MANUAL. Model : K

HR1200. Version 1.00 ATIM RADIOCOMMUNICATION 1/11

IEEE Wireless Access Method and Physical Specification

SonicNet Tones t0 t1 t2 t3 t4 ~7600 Hz ~7800 Hz ~8000 Hz ~8200 Hz ~8400 Hz

VT-CC M Wireless Module. User Guide

MCU with 315/433/868/915 MHz ISM Band Transmitter Module

DRF5150S Wireless Sensor Transmitter Module V1.30

SNIOT702 Specification. Version number:v 1.0.1

Low Power with Long Range RF Module DATASHEET Description

DP1205 C433/868/ , 868 and 915 MHz Drop-In RF Transceiver Modules Combine Small Form Factor with High Performance

The Wize Protocol, LPWAN for Smart Cities By P. M. Evjen

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

RF1276 Long Distance Transceiver module V2.0

AN0503 Using swarm bee LE for Collision Avoidance Systems (CAS)

DEPARTMENT OF ELECTRICAL & INFORMATION ENGINEERING PROJECT PRESENTATION

INTEGRATED CIRCUITS. MF RC500 Active Antenna Concept. March Revision 1.0 PUBLIC. Philips Semiconductors

Wireless Reading of Sensirion Sensors By H. Moholdt

BLE 4.0 Module ZBModule User Manual 1 / 15

RF7020D13 13dBm ISM RF Transceiver Module V2.12

DNT900. Low Cost 900 MHz FHSS Transceiver Module with I/O

MODES AND PROTOCOL HANDLING

EDW-ML8011 GSM GPRS Modem User s Manual. Page 1.

VT-CC2530-Z1 Wireless Module. User Guide

Catalog

AN4949 Application note

DRF4463D20 Medium Power ISM RF Transceiver Module V1.21

V7000 Product Brief (Preliminary Version) Version: 0.1 Release Date: July 15, 2016

1. GENERAL DESCRIPTION FEATURES PIN DESCRIPTION BLOCK DIAGRAM... 5

RF ISM Transparent Transceiver Module V4.0

AND9097/D. Ayre SA3291 Getting Started Guide APPLICATION NOTE

Intelligent and passive RFID tag for Identification and Sensing

Radiocrafts Embedded Wireless Solutions

SA818 Catalogue

Catalogue

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

On Practical Selective Jamming of Bluetooth Low Energy Advertising

DRF2018A113 Low Power Audio FM Transmitter Module V1.00

Automatic Gain Control Scheme for Bursty Point-to- Multipoint Wireless Communication System

Transcription:

Wireless hands-free using nrf24e1,1752'8&7,21 This document presents a wireless hands-free concept based on Nordic VLSI device nrf24e1, 2.4 GHz transceiver with embedded 8051 u-controller and A/D converter. Due to the unique features of the nrf24e1 this application can be realized with a minimum of external components. Key features: 1. From single chip RF transceiver solution to Single chip wireless hands-free solution 2. Voice quality audio (as defined by land line phone systems) 3. No need for codecs to compress audio information. 4. Secure communication, on chip-protocol generation and unique addressing of each system. 5. Emulated full duplex RF link 6. 2.4 GHz, world wide license free RF band, operation 7. Multiple channels available (up to 125 depending on local frequency regulations) 8. Frequency jumping schemes can be implemented. 9. Battery monitoring with reporting to phone. 10. Extremely low current consumption, only 8.9 ma* average during operation. 11. Long battery lifetime, up to 13 hours talking and 1200 hours (50 days) standby on a 120 mah cell 12. Very small physical outline 13. 7 free GPIO line enables embedding of additional features such as remote pick-up, volume control, LED indicators and other. Current consumption in pre and post filtering / gain stages are not included.

%$6,&6 Hands-free systems are based on two way analog audio so a wireless system must hence emulate this with adequate quality. Voice audio have a frequency band between 300 3400 khz, similar to landline telephone. When digitizing phone quality audio, one need a minimum 8 bit resolution with a sampling frequency of 6.8 khz. The sampling frequency is generally set to 8 khz requiring payload data rate of 64 kbit/s each way on the link. To improve audio quality and/or reduce the demands to the pre filtering, higher sampling rates can be used, requiring higher data rates or compression accordingly. On the air a robust RF protocol, dividing the audio information into packets with address and check sum to ensure data integrity, is utilized to give a secure link both in terms of stability and protection against eavesdropping. The simplest way to re-create the audio signal from the digital information is to utilize pulse width modulation (PWM) with post filtering. To re-create an audio signal with 8 bit resolution a 8 bit PWM modulator is also needed. The carrier frequency of the modulator should be as high as possible to reduce the requirements to the post filtering. The I/O format on both sides of the wireless hands-free is audio. Two identical modules are hence required. One module must however be given the role of master in the system, controlling the communication timing. Q5)( The nrf24e1 has all the key features needed for a wireless hands-free system: 1. Embedded (up to) 12 bit A/D converter for audio sampling and battery monitoring. 2. 2.4 GHz RF transceiver, featuring the unique ShockBurst communication mode. 3. 8 bit PWM output for D/A conversion. Pre and post filtering and amplification of the audio must be done off chip. This concept presents a basic system utilizing 8bit resolution at 8 khz sampling rate resulting in two way 64 kbit/s. The block schematic can be seen in Figure 1. nrf24e1 nrf24e1 A/D converter D/A converter 8051 MCU RF front end RF front end 8051 MCU A/D converter D/A converter Phone Figure 1: Wireless hands free block schematic

$'FRQYHUVLRQ The 8051 store samples from the nrf24e1 on-chip ADC until sufficient data for a RF packet is collected. The data, along with the address of the receiver, is then transferred to the RF front end, while the 8051 continue storing data for a new package. By utilizing the full length of the ShockBurst RF packages, 24 bytes or 3.0 ms of audio samples can be transferred pr. package. By muting the output and only send short status messages on the air when no audio input is present one can also reduce the data transfer on air beyond this and hence reduce system current consumption. To achieve this, the muting function must be implemented on the TX side of the link. 5)FRPPXQLFDWLRQ The link must emulate a full duplex system giving 64 kbit/s true data rate (i.e. 64 kbit/s payload) in each direction. Due to the unique ShockBurst feature of the nrf24xx devices where all protocol related issues are handled by a hardware engine, a cheap and relatively slow u- controller like the 8051 can handle and take advantage of the 1 Mbit/s on the air data rate offered. With this feature the 64 kbit/s true data rate is achieved, even with the overhead needed for the RF protocol. After configuration, the RF front is seen by the u-controller like any other peripheral unit with its I/O registers and interrupt-features.

Time slot (125us) 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Master SPI->RF tsby2txsb Toa Tsby2rx Receive mode Slave Tsby2rx Receive mode SPI->RF tsby2txsb Toa 10 11 12 13 14 15 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7 8 9 Figure 2 Full duplex handshaking concept The fundamental timing is based on standard length time slots dictated by the sampling frequency (8 khz = 125 us). In each timeslot the A/D must be read and the PWM updated. This activity takes ~15 % of each time slot leaving the rest to handle the RF communication. Synchronization of the master and slave is achieved by coupling the activities on air to a counter. As can be seen in Figure 2, the master always transmits in time slot 5 7, and once the slave has received a valid package, the RF front end is turned off and the slave counter is reset to 19. The time spent in receive mode in the figure, is hence a worst case scenario, when in lock the modules only keep the RF front end active until a valid package has arrived. The RF packages utilized can be 248 bits long (8-bit preamble+16-bit CRC+32-bit address+24 byte payload). Each package hence contains 24 samples, which results in a transmission every 3 ms. Thanks to the 1 Mbit/s on the air data rate the system can duty cycle the RF front end in normal operation, hence reducing current consumption while emulating the full duplex link. '$FRQYHUVLRQ Upon receiving a valid packet on the RF front end, the u-controller is interrupted and the payload section of the incoming package can be downloaded from the RF frontend I/O register. This data is then stored for transfer to the PWM output. The PWM output is driven by an 8 bit hardware PWM engine and hence doesn t load the u-controller core with its operation. The maximum carrier frequency of the nrf24e1 PWM modulator with 8 bit resolution is 64 khz and this is utilized to ease the post filtering.

35($1'3267),/7(5,1* Both on the input from the microphone and on the output to the loud speaker gain and filtering is needed. 3UHILOWHULQJ A/D theory states that an A/D converter sampling a spectrum 3.4 khz wide at a rate of 8 khz and 8 bit resolution needs 50 db damping of any noise at the repeated spectrum (which starts at 8 khz 3.4 khz = 4.6 khz). In speech processing it is however usual to take advantage of the fact that the energy is mainly situated below 3 khz and hence the lack of energy above 4 khz realizes the main part of the filtering. In addition to this, one of course also gains from any bandwidth limitations in the microphone itself. Due to these facts it is common to implement only a 1. or 2. order filter on an ADC input handling voice quality audio. As the output signal from the microphone must be amplified (improved SNR) to fit the dynamic range of the A/D converter, an external amplifier is needed. 3RVWILOWHULQJ The PWM output has a large frequency component on its carrier frequency (in this case 64 khz). It also has a repeated spectrums around 8 khz due to the update rate of the audio signal. To re-generate the analog audio signal both these noise signals must be filtered out adequately. The bandwidth of the selected loudspeaker itself, typically 3.5 khz for applications like this, contributes to the filtering of the output signal. The stop band characteristic of the loud speaker then dictates the complexity needed in the post filter.

&855(17&2168037,21 The total current consumption of the application is of course depending on the pre and post stages. Depending on the complexity one want in the design these stages can be turned of by use of GPIO ports on the nrf24e1, but case using a low end approach with only op-amps the current consumption should be in the ua range. As this current consumption is entirely depending on the key design features of the end application the current consumption of the nrf24e1 alone is treated below. The same formulas can be utilized on the pre and post stages if they are not continuously on. 2SHUDWLRQ The nrf24e1 current consumption when active is given by the following (please refer to Figure 2): 8051, A/D and D/A has a continuos current consumption of 4 ma. RF front-end current consumption in the different time intervals: T SPI ->RF : 438us @ 0.5 ma T a =Tsby2txSB + T oa : 444 us @ 8 ma (-20 dbm RF output power)* T b = T sby2rxsb + T receive mode : 660 us @ 19 ma *-20 dbm output power is utilized because only short range is needed in the system (<5 m) This figure also depends heavily on preferred antenna solution. One can now find the nrf24e1 peak and average current consumption. Peak: 4 ma + 19 ma = 23 ma Average: 7 ( 3PV 7 7 7 ) 4.5P$ + 7 *12P$ + 7 23P$ + 4PD D E 63, 5) D 3PV = > 63, > 5) E, DY Which gives I av = 8.9 ma + the current drawn in pre and post stages. The average current consumption will be the same for the master and slave unit. 6WDQGE\ The current consumption in stand-by is depending on how fast one want/need the hands-free to respond when a call is initiated. To get a seemingly transparent wireless hands-free, the following concept can be used. The concept depends on the phone unit being activated when the phone itself is activated i.e. before the actual audio is to be transferred.

The phone module is designated master in the system and sleeps until an incoming call is registered or a number is being punched to initiate a call on the phone. The master then goes active, sending packages every 3 ms as described in Figure 2. The slave (head-set) is also in power down (~2uA current consumption) and must hence wake up and listen on the air to detect any packets sent from the master. Let s look at the different scenarios to establish a reasonable slave wake-up time. Incoming calls: 1. If the phone is used for pick-up, the delay from the signal is heard by the user until the pick-up button is pressed is generally several seconds. 2. In the case of auto pick up, the delay is in the seconds range as well (pick-up after five signals for instance). 3. A pick-up switch on the ear piece (slave) can wake it up instantaneously establishing a link with the master. Outgoing calls: When a call out is to take place, the delay from a number is punched or selected from the phone book until the phone rings on the other end is also in the range of several seconds. So one may assume that the wireless hands-free system has in the range of seconds to establish a link between the master and slave unit. Following is an example where the slave is listening for incoming packages once every second. If a link needs to be established, the master is already transmitting packages every 3 ms so the minimum on the air listening time needed is 3ms + 1 package length + margins depending on TX crystal accuracy. The nrf24e1 needs 1 ms to start from power down upon RTC wake-up and in this interval the current consumption is 2 ma. An on-board RC oscillator drives the timer used for this 1 second cycle, and the clock accuracy is only +/-20 %. The maximum stand-by current is drawn when the interval is 1 sec 20% or 800 ms. The stand-by current consumption in the slave will be:, DY 7 = VWDUWXS ( 800PV 7 7 ) 2P$ + 7 *22P$ + 2X$ 5 VWDUWXS 5 800PV Where: T startup : 1ms T R = T sby2rxsb +T receive = 3.45ms (no crystal margins) Average stand-by current consumption: 99.3 ua

The master will draw only 2 ua in stand-by since it will go directly to active mode upon input from the phone. This approach is as mentioned depending on the hands-free master being activated at the same time as the phone itself. %DWWHU\ The battery for the application must be able to handle the short intervals of peak current when the RF front end is active. Batteries with lower peak current capability can be utilized if the battery is aided by reservoir capacitors. %DWWHU\OLIHWLPH If a 120 mah battery is used the expected active battery lifetime (or talk time) is: %DWWHU\ FDSDFLW\ 120P$K 7 DFW = = = 13 KRXUV $YHUDJH FXUUHQW 8.9P$ NOTE: current consumption in pre and post stages will increase average current consumption and bring T act down. The expected stand-by time will be: 120P$K VW = = 1208 KRXUV = 50 GD\V 99,3X$ 7 E\

&21&/86,21 The nrf24e1 is suitable for simple wireless hands-free applications. The device offers a low-cost and low power solution. An 8bit x 8 khz solution is fairly straight forward both in terms of hardware and software. The audio quality in an 8 bit 8 khz solution will facilitate phone quality, but both bandwidth and dynamic range is limited. Several issues can be pursued to improve audio quality and reduce current consumption. Below is short overview over both the feasible and not feasible options. 0DLQIDFWRUVRQDXGLRTXDOLW\ 3UHDQGSRVWVWDJHV Here one of course has a lot of options depending on the cost and physical space available. From simple RC as the cheapest to 5-6 order active filters, off-the shelf switch-cap and dedicated phone line filters can be used. 0LFURSKRQHDQGORXGVSHDNHU These are of course vital in terms of audio quality in themselves. They will also reduce requirements to the pre and post stages if they are chosen to fit the audio bandwidth needed aiding in the filtering.,qfuhdvhgvdpsolqjudwh Improving audio quality through higher sampling rates is not an option utilizing nrf24e1 and internal ADC/DAC. Due to the processing capacity 8bit x 8kHz uncompressed is close to what the nrf24e1 can handle. 8 bit x 10 khz should be possible but nothing far beyond that. +LJKHUG\QDPLFUDQJH This is limited in the nrf24e1 both by PWM resolution and transfer/processing capacity in the 8051 processor. It is hence not a way to go either. Combining higher sampling rates with simple digital signal processing (decimation filter) to maintain the 8 khz transfer rate on the air is however an alternative. 0DLQIDFWRUVUHGXFLQJFXUUHQWFRQVXPSWLRQ 7UDQVIHUUDWH Keeping the volume of data to be transferred down is the main current saving technique when the system is active. Implementing a mute region enabling you to cut the communication rate and/or packet length when no input from the microphone is present can be a powerful current saver. The muting in it self is fairly simple to make, how the user will perceive it is another thing. A raw mute of the output will leave a complete silence in the loudspeaker this might not sound naturally to the user. 5HVSRQVHWLPH Letting the devices sleep as much as possible is saving current in stand-by. A wake-up routine with a response time of ~1 sec. is presented in this white paper, if a longer response time is acceptable lower stand-by current follows.

/,$%,/,7<',6&/$,0(5 Nordic VLSI ASA reserves the right to make changes without further notice to the product to improve reliability, function or design. Nordic VLSI does not assume any liability arising out of the application or use of any product or circuits described herein. /,)(6833257$33/,&$7,216 These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Nordic VLSI ASA customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Nordic VLSI ASA for any damages resulting from such improper use or sale. White paper revision: 09-10-2003 All rights reserved. Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder.

<285127(6

)RU<RXUQHDUHVWGHDOHUSOHDVHVHHKWWSZZZQYOVLQR 0DLQ2IILFH Vestre Rosten 81, N-7075 Tiller, Norway Phone: +47 72 89 89 00, Fax: +47 72 89 89 89 9LVLWWKH1RUGLF9/6,$6$ZHEVLWHDWKWWSZZZQYOVLQR