background image

 

AN-000240

 

 

Document Number: AN-000240

 

Page 3 of 23

 

Revision: 2.0 

 

1

 

INTRODUCTION 

This guide will explain the hardware and software setup of the floor type detection for robotic vacuum applications. Using a Chirp 
sensor module, the floor type detection setup can distinguish between a hard and soft floor surface such as a hardwood floor and 
carpet. Using the GUI, real-time numerical data can be recorded and viewed in plot form. Using automatic parameter settings, a 
demo of hard and soft floor detection can be demonstrated with proper mounting, the evaluation kit setup and inputting the floor 
distance. For a more refined demonstration, custom parameter settings can be used. 

 

1.1

 

SCOPE 

 

Review the floor type detection demo hardware and software setup  

 

Run the floor type detection application (Robofloor) GUI 

 

Understand how to set the floor height and proper mounting 

 

Tune parameters and data output 

 

Basic understanding of the GUI detection output 

 

Debug hardware and software setup issues 

 

1.2

 

REFERENCE DOCUMENTATION 

Table 1-1. Reference Documentation 

Type 

TDK/ Chirp Reference Document 

Document Number: Name 

Section 

CH101 Module 

AN-000259: CH101 Design Guide 

AN-000231: EV_MOD_CH101 User Guide 

AN-000260: CH101 Module with 45° FoV & Particle Ingress Filter 

DS-000388: CH101 Datasheet 

Hardware 

AN-000158: CH101 Mechanical Integration Guide 

PB-000110: DK-CH101 Product Brief 

Software 

AN-000180: CH101 & CH201 Smart Sonic Eval Kit  

AN-000154: SmartSonic Hello Chirp Application Hands-on Exercise  

AN-000175: SonicLib Programmers Guide  

AN-000176: SmartSonic Robo-

Floor Example User’s Guide

 

2-3 

 

 

 

 

Summary of Contents for DK-CH101

Page 1: ...and information herein without notice Chirp Microsystems 2560 Ninth Street Ste 200 Berkeley CA 94710 U S A 1 510 640 8155 www chirpmicro com Document Number AN 000240 Revision 2 0 Release Date 03 04...

Page 2: ...ware 5 2 1 2 Using SmartSonic Module Sensor 6 2 1 3 Flash SmartSonic FW 7 2 2 CH101 CHIRP SENSOR MODULE MOUNTING 8 3 GUI 9 3 1 LAUNCH GUI 9 3 2 GUI FIELDS AND WIDGETS 9 3 3 SETTINGS AND TUNING 10 3 3...

Page 3: ...w the floor type detection demo hardware and software setup Run the floor type detection application Robofloor GUI Understand how to set the floor height and proper mounting Tune parameters and data o...

Page 4: ...etailed module and module integration information The CH101 sensor a single pulse echo sensor is an ultrasonic transceiver that can transmit and receive ultrasound signals These sensors measure the ro...

Page 5: ...Below is the list of available f w package s available The X in the file name is the version number The latest file should be provided Table 2 1 Available f w for Standalone Demo Description FW Floor...

Page 6: ...ientation to prevent flex cable hitting other components a Sensor 0 J6 b CH101 Note Horn Housing may differ from picture 2 Move jumper to FTDI slot after board has been programmed 3 Connect all J3 jum...

Page 7: ...o 7 application or use command prompt Download Atmel Studio from their website if needed Link https www microchip com mplab avr support atmel studio 7 3 Pull down the Tools menu Tools Device Programmi...

Page 8: ...unting suggestions The mechanical integration guide listed in the Reference Documentation section can be reviewed for a deeper dive into the module assembly and further explanation on the requirements...

Page 9: ...r Gui demo robofloor X X X Ensure proper firmware is flashed on SmartSonic 3 Launch floor_demo exe 4 Hit Connect and the detection will start 3 2 GUI FIELDS AND WIDGETS Figure 3 1 Robo Floor GUI Inter...

Page 10: ...s algo configurations etc click the and Open documentation dropdown 3 3 SETTINGS AND TUNING The GUI is used to display real time plots and output numerical values of its scans with automatic auto or c...

Page 11: ...le to the desired location with the horn housing facing downward to the floor surface The sensor must be facing the floor surface with no tilt or reflective surroundings For more information on module...

Page 12: ...oundings For more information on module mounting refer to Section 2 2 2 In the unpacked folder RoboFloor_vX X X exe and in the GUI folder open Gui demo robofloor x x x 3 Click the settings icon to inp...

Page 13: ...pical is 8 Start index of window before floor reflection Shift this setting to where ringdown begins or to desired starting point Customize ringdown length Define the size of ringdown window typical r...

Page 14: ...er of samples Set the max number of samples to process typical value should cover the whole floor window Customize range threshold decay factor Decay factor of the threshold 0 100 Impacts short distan...

Page 15: ...ins each of the display windows and widgets 3 4 1 Real Time Plots Magnitude Echoes measured by the sensor o Magnitude plot of range vs amplitude for the sensor Figure 3 8 Plot Magnitude Floor Metric D...

Page 16: ...istance between floor and sensor o Plot of distance to floor over time for the sensor Figure 3 10 Plot Floor Range ASCAN Amplitude scan o Bright white areas in the plot represent high amplitude reflec...

Page 17: ...such as a carpet will output a 0 while moving over a Hard Floor such as a hardwood floor will output a 1 Soft Floor Detection o Floor Type of 0 and a metric below the detection threshold will display...

Page 18: ...ition from Soft Floor to Hard Floor Real time plot at time 0 being current value Hard Floor Detection o Floor Type of 1 and a metric below the detection threshold will display a Hard Floor along with...

Page 19: ...3 Revision 2 0 Figure 3 14 Example of a Hard Floor output plot Real time plot at time 0 being current value Figure 3 15 Example of a plot of a transition from Hard Floor to Soft Floor Real time plot a...

Page 20: ...NDIX 4 1 TROUBLESHOOTING BAD TUNING 1 Ringdown settings Example settings o Sensor Height 48mm o ringdown_start_idx 5 Issues o Latency affected o Bad data in the ringdown phase o Hard to distinguish fl...

Page 21: ...Page 21 of 23 Revision 2 0 2 Floor Distance settings Example settings o Module mounted at 48mm o floor_start_idx 15 o Moved from hard to soft then back to hard surface Issues o Latency affected o Floo...

Page 22: ...23 Revision 2 0 3 Module not set to proper floor distance Example settings o Sensor Height 25mm and 60mm o Module mounted at 48mm Issues o Floor detection accuracy o Floor type metric o Can detect th...

Page 23: ...nt or from the use of products and services detailed therein This includes but is not limited to claims or damages based on the infringement of patents copyrights mask work and or other intellectual p...

Reviews: