Giter Club home page Giter Club logo

mmwave-radar-signal-processing-and-microdoppler-classification's Introduction

Hi there 👋, some interesting codebase of my projects can be found under this page ✨

mmwave-radar-signal-processing-and-microdoppler-classification's People

Contributors

xiangyu-gao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mmwave-radar-signal-processing-and-microdoppler-classification's Issues

What does Tc, Max_value, fft_Ang Represent?

You have taken 1/Tc as the sampling frequency along the azimuth direction. Does that mean that Tc is the chirp time?
Does the 'Max_value' you used is the "Range profile Y max value" represented in the mmWave SDK plot section or is it not?
You have taken 'Ang_fft' as 128. Have you chosen it to be equal to fft_Rang or for another reason?
Do the degree values in the RA plot (agl_grd) are the target position with respect to Tx1 or Tx2 or one of the receivers?

Did you get the RA plot just like it came in the mmWave SDK?

Data Processing in MUSIC

Hi,
In the MUSIC code provided there is no data file available. Therefore I would like to know what is the data cube size of the data in terms of samples , chirps and receivers. Is there any preprocessing performed on the data before applying it to the music algorithm?

Thank you,
Vandana

Real and imaginary part for analysis

Hi Xiangyu,

I wanted to enquire about the real and imaginary values which we get after FFT.

After performing FFT on the raw data we get a complex number comprising of real and imaginary part. It is technically a frequency domain. Going through different reading materials it is mentioned that we can derive the amplitude and phase from the complex number which can be further used for the analysis.
My question is can we use the raw real and imaginary values which is obtained after FFT for any analysis such as clustering, classification etc.

.bin data size problem

Hi, thank you very much for providing the bin file, I first calculated the bin size according to the parameters of the radar configuration in your paper ("Number of chirps in one frame 255; Number of samples of one chirp 128; Number of transmitters, receivers 2, 4") and calculated the file size by the TI provided, the bin size was calculated as 940,032,000 bytes, while the bin file size you provided was 947,044,432 bytes, I don't know why the size is different, which makes the configuration of the parameters of the code when I extract the first 30 frames a problem. Thank you for your reply.

template data

Is the template data captured with 30 frames or 60 frames? When generating the plots, it says 30 frames, but the data length is double that.

1. Why considering both "Rangedata_odd", "Rangedata_even" for Range-Angle Plot, but considering only "Rangedata_odd" for Range-Dopper plot?

I do not understand why only Rangedata_odd (Range estimated data of Tx1) is considered on which Velocity FFT is performed for plotting Range-Velocity (Also called Range-Doppler) image.

But considered both the transmitters Range-estimated data i.e. Rangedata_odd, Rangedata_even, on which Angle FFT is performed for plotting Range-Angle Image.

In the paper it is told that the "a fast Fourier transform in the spatial dimension across RX elements (Angle FFT) resolves objects according to their arrival angles in azimuth". Then why consider the Range-estimated data due to both the Tx.

I used bms1000_30fs.mat data
I used only "Rangedata_odd" data for plot. It appears it has more widened along the angle axis comapred to the original.
Rangedata_odd only used for RA plot

I used both "Rangedata_odd", "Rangedata_even" for RD plot. I see no difference in the plot when did "Rangedata_odd" is only considered.
Rangedata_odd, Rangedata_even both used for RD plot

About neural networks

Hello author, let me ask, why do you need to use stft, and then the data in the .mat, is it just the data collected by radar, or is the author's .mat generated by something else, I've been working on this thing recently, and then do you need to use the camera part in this code?

Reading .bin

Hi Xiangyu,

I have a raw adc data file (.bin) I have obtained from Infineon's BGT60TR24C. I have renamed it and placed it in the location as mentioned in read_bin.m. However I am getting an error

Error using reshape
Size arguments must be real integers.

Error in readDCA1000 (line 59)
    LVDS = reshape(LVDS, numADCSamples*numRX, numChirps);

Error in read_bin (line 10)
data = readDCA1000(folder_location, samples);

Here is the file:

bin_data.zip

Can you please help with this.

Thanks.

Does Range-Angle Plot and Range-Azimuth Plot both not same?

This paper shows the Range-Angle Plot. It is obtained by applying Angle FFT on Range compensated data. As in the code the Angle FFT is applied on the 2nd dimesnion of the data variable Rangedata_merge (8 points), which indicated the [4 Rx samples from Tx1, 4Rx samples from T2].

  1. Does both the Range-Angle Plot, and the Range-Azimuth plot both same? If not, How to obtain the Range-Azimuth plot.

  2. Velocity FFT is applied on the chirps. Which is 3rd dimension of Rangedata_merge for obtaining RD plot. Does that mean the third dimension is already in special domain.

Problem about sample and rangebin。

sample = 128. why use fft_Rang = 134 to range-fft ?
if use fft_Rang=128
image
but when use fft_Rang=134
image
they have different mirco Doppler map
thank you for your reply

测试生成的微多普勒数据

image
我使用2019_04_09_bms1000文件夹中cylist的数据生成STFT_data,并放入\template data\test_data_part\2019_05_28\2019_05_28_bm1s011进行测试,无法识别为cylist。
image
这是部分多普勒图结果。不知道哪里出了些问题
非常感谢您的指导与回复!
我又测试了行人和车辆,他们是可以分辨的。
0-15是cylist,其余为行人和车辆。
image

Conversion of .bin to .mat?

Hello Xiangyu,

You have provided with the .bin file which contains all the information taken from the radar. I tried reading it using the code given and it works. My question after that is that how you are converting the .bin into .mat format because .mat is the input to the main pipeline. Also, there is one .bin file but 3 .mat file, are all those 3 derived from single file or 3 different files?

Questions about signal processing when modifing your code for AWR1642-ODS

Hi, I'm processing data of AWR1642-ODS,which has an 'L' shape virtual array.

I wonna modify your code for AWR1642-ODS, and I think the only different thing is anle estimation, beacause AWR1642 has a linear virtual array, while AWR1642-ODS has an 'L'-shape virtual array.

However, when I check your code, I get confusion results after 2D-FFT(e.g., after range-FFT and angle-FFT). I use 'pms1000_30fs.mat' for test, and the target range is about 7m.
image
However, when I make a figure about 'Dopdata_sum' in your code (e.g. radar data cube after 2D-FFT, and now we have got both range and velocity estimation), I get the folloeing result, x-axis is range, and y-axis is Doppler velocity,
image
I can't find the target at range 7m.

Could you help me explain this result?
thanks in advance!

How to know the parameters

Hi Gao,
From where you have considered these values

  1. fc
  2. Fs
  3. sweepSlope
  4. Tc
  5. max_value

May I know how can I select these values for my setup?

Contents of .mat files

Hello Xiangyu-Gao,

I was going through the paper along with the codes. I haven't finished up reading the paper but while going through the data from FMCW I had a question related to it.
When I try to view the contents of .mat files I know it is a dictionary with arrays as one of the following values. After looking at those array values it seems they are mixed characters (not specifically integer or float).
Example :-
[-127.-17.j -63.-13.j -34. +3.j ... -10.-14.j -10. +8.j -26. +2.j]
[ 81. +3.j 73. +6.j 69.+25.j ... 4. +5.j 3.+23.j -17.+11.j]
[-129.+68.j -73.+43.j -62.+56.j ... 2. +0.j 2.+23.j -16.+18.j]

Keeping in mind you have knowledge about FMCW after working on it, can you explain what is the output format from FMCW and why the array has mixed characters?

Question about understanding the code. what does `peakGrouping.m` do? and the STFT parameters in `generate_microdoppler_stft.m`

1. What does peakGrouping.m do?
I undersatnd that the detected point clouds are obtained using cfar_RV.m. The output of cfar_RV.m is sent to peakGrouping.m. The output of peakGrouping.m (detout) is a subset of output of cfar_RV.m.
Why take subset of the point clouds location detected in cfar_RV.m not all point clouds? How peakGrouping.m determines this subset of piont clouds?

2. Does the values of STFT parameters Lr, La etc are same for each image?
From the code, I understand that the Lr, La values denotes the number of range and angle bins to be chosen for radar data cube(Fig. 9, Fig. 10 of paper) .
My question is, since the targets can be present in any range and angle bins, how can these values be the same for each input raw data?

Questions about clustering function

Hi,thanks for your coding! I have a question about clustering function.
clustering(save_det_data,fft_Vel,veloc_bin_norm,dis_thrs,rng_grid,agl_grid)
what does the veloc_bin_norm mean? Is the length of save_det_data(:,2)?

mmWave studio settings for radar data

Hello,
Do you have the mmWave studio settings you guys used to collect the data? I want to be able to collect data with my radar with similar setup. Thank you in advance.

Question about stft.mat

stftdata is a 255x255x55 data. its type is complex, but VGG is need float. So,use abs function?

radar config parameters

fft range parameter 134 is used instead of 128, any design reason behind this
params.fft_Rang = 134; % 134=>128

使用awr1642采集的数据无法正确呈现多普勒速度

您好,我准备使用awr1642进行人体步态的微多普勒效应实验,但是执行generate_microdoppler_stft后无法正确呈现速度值(在mmwave studio中使用MICRO-DOPPLER 可以正确执行)。注意到您使用的设备为awr1843,我修改了get_params_value中的值,但还是无法正确显示。是否因为两个设备产生的bin文件的数据结构不同导致这种结果?还是因为修改的get_params_value不正确导致的?如果您对此有任何见解的话,请不吝赐教,万分感激。

引用了已清除的变量 data_frames

您好,用您这个代码去处理您Automotive中的数据时会报错,’‘引用了已清除的变量 data_frames’‘,您可以告诉我怎么解决吗

Explanation of 2nd step from Read me File

error_fft_range_script

Error_microdopller_script

As per file "Read me" in the "Run codes for generating micro-Doppler maps" section. I am getting an error in the 2nd step i.e to run generate_microdoppler_stft.m file.

The error says "Unrecognized function or variable 'hanning'.". the function was found in fft script (in fft modules) there is also the same error showing.

I have pasted a screenshots

Can you help me in resolving the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.