This block generates a signal for FMCW radar in baseband. The modulation is structured in a CW part with constant frequency and a following up- and down-chirp. The chirp goes from CW frequency to CW frequency plus sweep frequency and back to the CW frequency. The CW part is first, up- and down-chirp is following. The packet length for subsequent tagged streams is calculated by the sum of the number of samples of the single modulations parts.
More...
#include <signal_generator_fmcw_c.h>
|
static sptr | make (int samp_rate, int samp_up, int samp_down, int samp_cw, float freq_cw, float freq_sweep, float amplitude, const std::string &len_key="packet_len") |
| Return a shared_ptr to a new instance of radar::signal_generator_fmcw_c. More...
|
|
This block generates a signal for FMCW radar in baseband. The modulation is structured in a CW part with constant frequency and a following up- and down-chirp. The chirp goes from CW frequency to CW frequency plus sweep frequency and back to the CW frequency. The CW part is first, up- and down-chirp is following. The packet length for subsequent tagged streams is calculated by the sum of the number of samples of the single modulations parts.
- Parameters
-
samp_rate | Signal sample rate |
samp_up | Number samples of up-chirp part |
samp_down | Number samples of down-chirp part |
samp_cw | Number samples of CW part |
freq_cw | CW signal frequency in baseband |
freq_sweep | Sweep frequency of up- and down-chirp |
amplitude | Signal amplitude |
len_key | Packet length key for tagged stream |
◆ sptr
◆ make()
static sptr gr::radar::signal_generator_fmcw_c::make |
( |
int |
samp_rate, |
|
|
int |
samp_up, |
|
|
int |
samp_down, |
|
|
int |
samp_cw, |
|
|
float |
freq_cw, |
|
|
float |
freq_sweep, |
|
|
float |
amplitude, |
|
|
const std::string & |
len_key = "packet_len" |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: