TI mmwave Labs. Vital Signs Measurement

Similar documents
TI mmwave Training. mmwave Demo

TI mmwave Training. xwr16xx mmwave Demo

ADC Data Capture using Capture Demo and CCS Memory Browser IWR14xx/AWR14xx example. Document Version V

mmwave Sensor Raw Data Capture Using the DCA1000 Board and mmwave Studio

UniFlash v4 User Guide for mmwave Devices

Section 2: Getting Started with a FPU Demo Project using EK-LM4F232

MMWAVE SDK User Guide. Product Release Release Date: May 2, Document Version: 1.0. MMWAVE SDK User Guide

As CCS starts up, a splash screen similar to one shown below will appear.

Hello World on the ATLYS Board. Building the Hardware

Quick Start Guide Sense2GoL Module. July 12 th 2018

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

Figure 1 TCL Used to Initialize PS

Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board

MMWAVE SDK User Guide. Product Release Release Date: Oct 23, Document Version: 1.0. MMWAVE SDK 1.1 User Guide

MicroZed: Hello World. Overview. Objectives. 23 August 2013 Version 2013_2.01

Freescale, the Freescale logo and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Xtrinsic is a trademark of

As CCS starts up, a splash screen similar to one shown below will appear.

Section Objective: Acquaint with specifications of Launchpad Acquaint with location of switches, LEDs, power-on switch, powering the board.

Quick Start Guide Demo Distance2Go. July 2018

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

Code Composer Studio Operation Manual

Use Vivado to build an Embedded System

How to: Flash the DC/DC LED Lighting Kit s F28035 controlcard so that it works with the GUI

Texas Instruments Code Composer and ez-dsp Setup Notes

Santa Fe (MAXREFDES5#) MicroZed Quick Start Guide

Getting Started in C Programming with Keil MDK-ARM Version 5

Getting Started in C Programming with Keil MDK-ARM Version 5

LDC1000 SENT Bridge MSP-EXP430F5529LP based Getting Started

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

HVMotorCtrl + PFC Kit How to Run Guide

Introduction to the M16C Development Environment

Tutorial - Exporting Models to Simulink

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

Olimex Field Update Kit

Use Vivado to build an Embedded System

Quick Start Guide Demo Distance2Go. September 2017

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Xilinx Vivado/SDK Tutorial

TUTORIAL Auto Code Generation for F2806X Target

JEE2600 INTRODUCTION TO DIGITAL LOGIC AND COMPUTER DESIGN. ModelSim Tutorial. Prepared by: Phil Beck 9/8/2008. Voter Function

SMT107 User Manual User Manual (QCF42); Version 3.0, 8/11/00; Sundance Multiprocessor Technology Ltd. 1999

Hands-On Lab. Authoring and Running Automated GUI Tests using Microsoft Test Manager 2012 and froglogic Squish. Lab version: 1.0.5

Moses Jones Application Note ECE 480 Design Team 7 Programming Altimeters. Using MSP 430 Launch Pad 11/8/2013

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

Introduction to Zynq

Application Note: AN00194 Getting Started with VCD Tracing in xtimecomposer

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

Understanding UCS Server Configuration Utility User Interface

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

ECE QNX Real-time Lab

ELMO Board Programming Guide

INSTRUCTIONS FOR SETTING UP ROACH SOFTWARE IN MPLAB-X

UCD3138. JTAG Configuration. Using CCS 6

Estimating Accelerator Performance and Events

Section 1 Establishing an Instrument Connection

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio

MAXREFDES43# ZedBoard Quick Start Guide

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

Pengwyn Documentation

C File System File Functions EXPERIMENT 1.2

mmwave Radar IWR1642 People Counting Demonstration

Code Composer TM. Quick Start Guide

WRITING CONSOLE APPLICATIONS IN C

TP : System on Chip (SoC) 1

EE289 Lab Spring 2012

Network Management Software ALLNET Zone Controller

FX SERIES. Programmer s Guide. Embedded SDK. MN000540A01 Rev. A

TMS. series SIGNUM SYSTEMS CORPORATION. JTAGjet Driver for Code Composer Studio 2.x/3.0. Installation Instructions

Using Code Composer Studio IDE with MSP432

Spartan -6 LX9 MicroBoard Web Connectivity On Ramp Tutorial

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University

F28069 ControlCard Lab1

Labs instructions for Enabling BeagleBone with TI SDK 5.x

Ethernut 3 Source Code Debugging

Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

TUTORIAL Auto Code Generation for F2803X Target

DSP Development Environment: Introductory Exercise for TI TMS320C55x

Adesto Serial Flash Demo Kit: Quick Start Guide

U-Boot and Linux Kernel Debug using CCSv5

Android System Development Training 4-day session

EARTH PEOPLE TECHNOLOGY. ODIN-LINK BLE + MAXPROLOGIC Development System User Manual

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Alameda (MAXREFDES24#) ZedBoard Quick Start Guide

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

Lab Android Development Environment

Manual. Technical Specifications: Version 1.0.0, May Copyright Terabee 2016

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS. For IBM System i (5250)

mmwave sensors in robotics: technical deep dive

QNX Software Development Platform 6.6. Quickstart Guide

WaveAR User s Manual. Blake J. Landry and Matthew J. Hancock. WaveAR User s Manual page 1 of 19

AE483: Lab #1 Sensor Data Collection and Analysis

Introducing TI s Integrated Development Environment CCS (Code Composer) Studio) to Expert Engineers

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System

Contributing Lists in Activity Center

RTMS - Software Setup

General Purpose GUI Overview

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250)

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

BASICS OF THE RENESAS SYNERGY TM

Transcription:

TI mmwave Labs Vital Signs Measurement

Contents Overview Requirements Software setup Pre-requisites Downloading the Lab Project Building the project Hardware setup Preparing the EVM Connecting the EVM Running the Lab Loading Program Running the GUI 2

Lab Overview This lab exercise demonstrates the ability of TI IWR 14xx mmwave sensor to measure chest displacements due to breathing and heart beat Typical vital signs parameters for adults Vital Signs Amplitude Frequency Breathing Rate (Adults) 1-12 mm 0.1 0.5 Hz Heart Rate (Adults) 0.1 0.5 mm 0.8 2 Hz To measure these small scale vibrations/displacements, we measure the change in phase of the FMCW signal with time at the target range bin 4 b R - b corresponds to the change in phase when the target moves a distance R - Note that a smaller wavelength will give better displacement sensitivity Code Composer Studio (CCS) project along with source code is provided for this lab 3

Lab Overview TI mmwave sensor measures the chest displacement when it is pointed towards the chest of a person sitting in front of the sensor The onboard programmable processing cores on the TI IWR 14xx mmwave sensor are used to filter out the breathing and heart beat pattern from chest displacements and estimate the Breathing and Heart-rate GUI displays the chest displacements, filtered waveforms and the estimated Breathing and Heart-rate Chest area clear of objects EVM at same level as chest GUI Note: Although not an absolute requirement, a lens in front of the sensor will improve the performance 4

1. Requirements Software Pre-requisites Latest TI mmwave SDK and all related dependencies installed as mentioned in the mmwave SDK release notes. Vital Signs Lab CCS Project Download from TI Resource Explorer UniFlash For flashing firmware images onto Download from TI.com/tool/uniflash XDS110 Drivers For EVM XDS device support Included with CCS Installation, or standalone through TI XDS Emulation Software MATLAB runtime R2016b (9.1) For running the Vital Signs Lab GUI Download from MATLAB website Hardware AWR14xx/IWR14xx EVM Micro USB cable (included in the EVM package) 5V/5A Power Supply Purchase from Digikey A lens/concentrator to direct the radar waves towards the chest 5

Steps 1. Prerequisites 2. Download Lab project 3. Build Lab project 4. Preparing the EVM 5. Running the Lab 6

1. Pre-requisites 1. Install Pre-requisites 2 3 4 5 It is assumed that you have the latest TI mmwave SDK and all the related tools dependencies installed as mentioned in the mmwave SDK release notes. The tools include Code Composer Studio, TI SYS/BIOS, XDC tools, TI ARM compiler, and Perl among other dependencies mentioned in the mmwave SDK release notes. The mmwave SDK release notes include the links for downloading the required versions of the above tools. Note: For this video, we used mmwave SDK 1.0.0.5 and followed the corresponding release notes. Please follow the release notes for the latest SDK version. The snapshot shown here corresponds to mmwave SDK 1.0.0.5 Please follow the mmwave SDK release notes to install the latest mmwave SDK and all the required tools if you don t have these setup already. If you have already installed the mmwave SDK and all the required tools, you can move on to the next step i.e. downloading the lab on to your machine. 7

Steps 1. Prerequisites 2. Download Lab project 3. Build Lab project 4. Preparing the EVM 5. Running the Lab 8

2. Download the Lab project 1 2 Download Lab project 3 4 5 The mmwave Lab projects are available under mmwave Training in CCS Resource Explorer. To download the Vital Signs Lab, start CCS v7.1 (or later) and select View Resource Explorer to open the Resource Explorer. In the Resource Explorer Window, select Software mmwave Training Labs. 9

2. Download - continued 1 2 Download Lab project 3 4 5 Select the Vital Signs Lab in the left view. The right view shows the contents of the Lab which contains the CCS Project and the PC GUI. Click on the Download and Install button in the top right corner as shown. Click here to download the project on to your PC Select the Make Available Offline option from the drop down to start downloading the Lab. 10

2. Download - continued 1 2 Download Lab project 3 4 5 The project will be downloaded in C:\ti\mmwave_training Click on the Import to IDE button which should be visible in the right side view after a successful download. This copies the project in the user s workspace and imports it into the CCS project explorer. Click here to import the project It is important to note that the copy created in the workspace is the one that gets imported in CCS. The original project downloaded in mmwave_training is not touched. 11

2. Download - continued 1 2 Download Lab project 3 4 5 After successfully completing the Import to IDE operation, the project should be visible in CCS Project Explorer as shown here. At this point, we have successfully downloaded the Vital Signs Lab and imported it in CCS. We are ready to move on to the next step i.e. Building the project. 12

Steps 1. Prerequisites 2. Download Lab project 3. Build Lab project 4. Preparing the EVM 5. Running the Lab 13

3. Build the Lab 1 2 3 Build Lab project 4 5 With the vitalsigns_lab project selected in Project Explorer, open the Project menu and select Build Project. On successful completion of the build, you should see the output in CCS console as shown here and the following two files should be produced in the project debug directory xwr14xx_vitalsigns_lab_mss.xer4f xwr14xx_vitalsigns_lab_mss.bin If the build fails with errors, please ensure that all the pre-requisites are installed as mentioned in the mmwave SDK release notes. 14

Steps 1. Prerequisites 2. Download Lab project 3. Build Lab project 4. Preparing the EVM 5. Running the Lab 15

4.1 Preparing the EVM 1 2 3 4. Preparing the EVM 5 There are two ways to execute the compiled code on the EVM: Deployment mode: Flashing the binary (.bin image) on to the EVM serial flash In this mode, the EVM boots autonomously from flash and starts running the bin image. Debug mode: Downloading and running the executable (.xer4f image) from CCS. You will need to flash a small CCS debug firmware on the EVM (one time) to allow connecting with CCS. This debug firmware image is provided with the mmwave SDK. As a recap, the build process in Step 3 produces both the.bin and.xer4f images. This presentation explains the second method i.e. Debug mode (CCS). To prepare the EVM for debug mode, we start with flashing the CCS debug firmware image. Please note that the same flashing process can be used to flash the Lab binary to run it in deployment mode. 16

4.2 Connecting to the EVM 1 2 3 4. Preparing the EVM 5 Power on the EVM using a 5V/5A power supply. Connect the EVM to your PC and check the COM ports in Windows Device Manager The EVM exports two virtual COM ports as shown below: XDS110 Class Application/User UART (COM UART ): Used for passing configuration data and firmware to the EVM XDS110 Class Auxiliary Data Port (COM AUX ) Used to send processed radar data output Note the COM UART and COM AUX port numbers, as they will be used later for flashing and running the Lab. COM UART : COM33 COM AUX : COM34 The actual port numbers on your machine may be different 17

4.3 Flashing CCS debug firmware 1 2 3 4. Preparing the EVM 5 1. Put the EVM in flashing mode by connecting jumpers on SOP0 and SOP2 as shown in the image. 2. Open the UniFlash tool 3. In the New Configuration section, locate and select the appropriate device (AWR1443 or IWR1443) 4. Click Start to proceed 18

4.3 Flashing CCS debug firmware 1 2 3 4. Preparing the EVM 5 1. In the Program tab, browse and locate the Radar SS and MSS images shown below: Leave this empty Leave this empty Image Meta Image 1/RadarSS Meta Image 2/MSS Location C:\ti\mmwave_sdk_<ver>\firmware\bss\xwr12xx_xwr14xx_radars s.bin C:\ti\mmwave_sdk_<ver>\packages\ti\utils\ccsdebug\xwr14xx_ccs debug_mss.bin 2. In the Settings & Utilities tab, fill the COM Port text box with the Application/User UART COM port number (COM UART ) noted earlier 1. 3. Return to the Program tab, power cycle the device and click on Load Images 4. When the flash procedure completes, UniFlash s console should indicate: [SUCCESS] Program Load completed successfully 5. Power off the board and remove the jumper from only header SOP2 (this puts the board back in functional mode) 19

Steps 1. Prerequisites 2. Download Lab project 3. Build Lab project 4. Preparing the EVM 5. Running the Lab 20

5.1 Connecting EVM to CCS It is assumed that you were able to download and build the Lab in CCS (completed steps 1, 2 and 3) To connect the Radar EVM to CCS, we need to create a target configuration Go to File New New Target Configuration File Name the target configuration accordingly and check the Use shared location checkbox. Press Finish In the configuration editor window: Select Texas Instruments XDS110 USB Debug Probe for Connection Type IWR in the Board or Device text box and select IWR1443 device. Press the Save button to save the target configuration. You can press the Test Connection button to check the connection with the board. 1 2 3 4 5. Running the Lab 21

5.1 Connecting - continued Go to View Target Configurations to open the target configuration window. 1 2 3 4 5. Running the Lab You should see your target configuration under User Defined configurations. Right click on the target configuration and select Launch Selected Configuration. This will launch the target configuration in the debug window. Select the Texas Instruments XDS110 USB Debug probe and press the Connect Target button Click here to Connect to the target CPU 22

5.2 Loading the binary With the target connected, click on the Load button in the toolbar. In the Load Program dialog, press the Browse Project button. Select the lab executable (.xer4f) as shown and press OK. Press OK again in the Load Program dialog. 1 2 3 4 Load Program 5. Running the Lab 23

5.3 Running the binary With the executable loaded, press the Run/Resume button 1 2 3 4 5. Running the Lab The program should start executing and generate console output as shown. Run Program If everything goes fine, you should see the CLI is operational message which indicates that the program is ready and waiting for the sensor configuration. The sensor configuration is sent using the Lab GUI which is based on Matlab. Note: Please ensure that MATLAB runtime R2016b (9.1) is installed as mentioned in the pre-requisites section. 24

5.4 Running the Lab GUI Navigate to the Lab GUI directory as shown The GUI gets downloaded in the Lab directory under mmwave_training. Execute the Lab GUI executable (vitalsignsdemo_gui.exe). 1 2 3 4 5. Running the Lab 25

5.4 Running GUI - continued Press the Settings button. Update the User UART and Data port numbers with the COM UART and COM AUX ports noted earlier. The Configuration File name text box should automatically show the name of the profile provided in the GUI directory. Press Start to load the configuration and start the visualization. At this point, you should see the sensor configuration being sent in the CLI command line window opened by the GUI. 1 2 3 4 5. Running the Lab 26

27 5.4 Running GUI - continued Have the subject sit comfortably on the chair. As sub-mm chest displacements are being measured the subject is required to be very still for accurate measurements Make sure that the Plot Range Profile check box is checked and a peak corresponding to the subject can be seen. Once a peak is seen, press the Refresh button. Now, chest displacements due to breathing should be clearly visible in the Breathing Waveform plot Once a few chest displacements have been seen, ask the subject to hold their breath. The breathing-rate should go to zero and turn red, the breathing waveform plot should be more or less constant and the heart rate waveforms should still be visible. If the breathing rate does not go to zero OR the heart rate waveform is not visible then either the subject is not properly aligned with the radar or there is interference coming from other moving objects within the Radar field-of-view. Wait 20-30 seconds so that enough data frames are received for an accurate estimate of the vital signs Normal Breathing Holding Breath (Note: If the GUI appears to be moving very slowly, disable the Range Profile plot. Once the Refresh button is pressed, this plot is no longer needed and can slow down the GUI.)

Learn more about TI mmwave Sensors Learn more about xwr1x devices, please visit the product pages IWR1443: http://www.ti.com/product/iwr1443 IWR1642: http://www.ti.com/product/iwr1642 AWR1443: http://www.ti.com/product/awr1443 AWR1642: http://www.ti.com/product/awr1642 Get started evaluating the platform with xwr1x EVMs, purchase EVM at IWR1443 EVM: http://www.ti.com/tool/iwr1443boost IWR1642 EVM: http://www.ti.com/tool/iwr1642boost AWR1443 EVM: http://www.ti.com/tool/awr1443boost AWR1642 EVM: http://www.ti.com/tool/awr1642boost Download mmwave SDK @ http://www.ti.com/tool/mmwave-sdk Ask question on TI s E2E forum @ http://e2e.ti.com 28

29