Post Go back to editing

Regarding FMCW_Velocity_RADAR_Waterfall.py Python Script Example

Thread Summary

The user encountered issues with velocity measurements using the FMCW_Velocity_RADAR_Waterfall.py script on a Phaser board, showing only static at 0 value. The support engineer confirmed the script was incomplete and recommended using Range_Doppler_Plot.py instead. The user resolved the issue by reducing the max_range variable to 10 meters, allowing for accurate indoor testing with a moving target.
AI Generated Content
Category: Software
Product Number: CN0566

Very Good Day,

I'm in the middle of testing my Phaser board. When I run a Python script (FMCW_Velocity_RADAR_Waterfall.py) by Jon Kraft, the velocity measurements was not coming up. The graph shows only static at 0 value. Do any one experienced the same during testing it?

Parents
  • Please provide information about your setup, exactly what you are seeing, and any error messages.  Also ensure that you have followed the complete getting started guide here: https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0566/quickstart

    And have connected the included ribbon cable between Pluto and the Phaser board.  It is helpful if you can provide some pictures of your setup as well.  Thanks!

  • Thanks for your quick response Jon. I really appreciated it.

    For your info, I already test the board for CW radar with some additional features and it works. It measured velocity with graph and PPI for visualization. Below are the video:

    And I already test FMCW radar using an example on the local phaser folder (Raspberry PI) and it also works. Below are my setup pictures:

    I already connected the ribbon cable, as seen from the picture. But the problem is with FMCW_Velocity_RADAR_Waterfall.py from your github page, it is not shown any velocity measurement on the graph during target movement. But FFT spectrum clearly shows the beat frequency movement as shown on below pictures:

    Right now I tried to do my own algorithm to compute the velocity for FMCW radar. I hope you can assist me regarding the matters.

    Thank you...

  • Yes, Velocity_radar_waterfall was incomplete, I've deleted it for now.  Instead use this file:

    https://github.com/jonkraft/PhaserRadarLabs/blob/main/Range_Doppler_Plot.py

  • Hi Jon very thanks for the quick reply.

    Very thanks for your info regarding incomplete script. I already test indoor using your Range_Doppler_Plot.py. Below is the result screenshot and some parameters that I used which is depends on my previous calibration:

    What I'm curious is that, when I test it indoor which I kept my moving target (metal sheet) in motion, I can't get an accurate measurements as shown on the Spectrogram. My results was different from your tutorial video on youtube. Is the Python script same like yours? or I can't test it indoor?. I hope you can guide me regarding this issues. Thanks Jon.

Reply
  • Hi Jon very thanks for the quick reply.

    Very thanks for your info regarding incomplete script. I already test indoor using your Range_Doppler_Plot.py. Below is the result screenshot and some parameters that I used which is depends on my previous calibration:

    What I'm curious is that, when I test it indoor which I kept my moving target (metal sheet) in motion, I can't get an accurate measurements as shown on the Spectrogram. My results was different from your tutorial video on youtube. Is the Python script same like yours? or I can't test it indoor?. I hope you can guide me regarding this issues. Thanks Jon.

Children
  • This is the program I used, and it will definitely work indoors.  Try setting MTI filter to false, and use a corner reflector, or other object, not a metal plate.  Other than that, it could be a good idea to reread the setup guides.  It may also be helpful to research radar range doppler plotting to gain a better sense for the variables and what the plot the looks like.  

  • Very thanks Jon for the reply. Finally I make it works. I just change and reduce a max_range variable from 50 to 10, so that I can see the differences at a small space (inside my lab). To test it, I just walk away and towards the radar in order to observe range and velocity differences.

    Thanks again Jon. If I have any further questions, I will let you know. Have a nice day.