Fast State Detection

Discussion in 'Respiration Sensor' started by Aksel Johnsby, May 3, 2018.

  1. Aksel Johnsby

    Aksel Johnsby Moderator Staff Member

    We get inquires regarding detection of targets walking in and out of the detection zone quickly, so we made an example to show you how this can be achieved. The example shares a lot of similarities with the example showcased in the X4M300 application note (https://www.xethru.com/community/resources/xethru-x4m300-presence-sensor.116/).This example utilizes the movement lists to detect presence with a small transition period between states. By using the movement fast metric lists(major movement) for detecting targets entering and leaving the zone quickly and the movement slow metric lists(minor movement/breathing) for detecting stationary targets the theoretical transition time from Minor/Major movement state to NoMovement should be no longer then 20 seconds. Setting the threshold for the MajorMovement state high(70%) and the threshold for the MinorMovement) state low(1%) allows for detection of a fast moving target entering and leaving while a stationary target is in the detection zone. fast_state_detection_1.jpg fast_state_detection_2.jpg
     

    Attached Files:

  2. NSANGOU CHOUAIBOU

    NSANGOU CHOUAIBOU Active Member

    Hi Aksel,
    Great job !

    B.R,
    Chouaibou.
     
    Aksel Johnsby likes this.
  3. NSANGOU CHOUAIBOU

    NSANGOU CHOUAIBOU Active Member

    Hi Aksel,
    Please, what is the relationship between Fast/Slow movement metric (0-100) and doppler shift ? What is the min/max speed of the target for the module to be able to make accurate measurements ? What about the RSC feature ?

    B.R,
    Chouaibou.
     
  4. Steffen

    Steffen New Member

    Sorry for the question but i don´t understand where your python script should running and how my X4M300 is connected to the host? Can you explain in some words how the infrastructure in general looks like to get access to the board and to change the data for a fast state detection.

    Steffen
     
  5. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi Steffen,

    Following XeThru Sensor Introduction to installing ModuleConnector python lib, then you can run this script.
    X4M300 should be connected to your computer through USB or UART port.
     
  6. Steffen

    Steffen New Member

    Thank you for reply, the scripts are running fine. But after running different scripts the distance value in the upper display in XeThru Explorer shows not the correct value. Most of the time the value oscillating around the lower detection zone value. Do you have some tip to set the sensor to factory setting?
     
  7. Aksel Johnsby

    Aksel Johnsby Moderator Staff Member

    Hi all,
    I made another version for anyone wishing to use X4M300.
    --
    Aksel
     

    Attached Files:

    NSANGOU CHOUAIBOU likes this.
  8. NSANGOU CHOUAIBOU

    NSANGOU CHOUAIBOU Active Member

    Hi Aksel,
    Great ! Please could you add live distance settings changes without stopping the profile running in the module ?

    B.R,
    Chouaibou
     
    Last edited: Dec 14, 2018