Skip to main content
. 2019 May 29;19(11):2458. doi: 10.3390/s19112458
Algorithm 1: Walking speed enhancement.
Input: hallway width L
           acoustic speed c
Output: User walking speed vuser
  • 1 

    Emit fe kHz sub-ultrasonic;

  • 2 

    Receive fr kHz sub-ultrasonic;

  • 3 

    Δv=c×frfefe;

  • 4 

    D sub-ultrasonic TDOA method;

  • 5 

    sinθ=LD;

  • 6 

    The velocity component of vencounter on DopE direction;

  • 7 

    vencounter=vencounter×1sinθ2;

  • 8 

    The velocity component of vuser on DopE direction;

  • 9 

    vuser=Δvvencounter;

  • 10 

    return vuser;