GNU Radio Radar Toolbox
gr::radar::signal_generator_fmcw_c Class Reference

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>

Inheritance diagram for gr::radar::signal_generator_fmcw_c:
gr::radar::signal_generator_fmcw_c_impl

Public Types

typedef boost::shared_ptr< signal_generator_fmcw_csptr
 

Static Public Member Functions

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...
 

Detailed Description

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_rateSignal sample rate
samp_upNumber samples of up-chirp part
samp_downNumber samples of down-chirp part
samp_cwNumber samples of CW part
freq_cwCW signal frequency in baseband
freq_sweepSweep frequency of up- and down-chirp
amplitudeSignal amplitude
len_keyPacket length key for tagged stream

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ 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

Return a shared_ptr to a new instance of radar::signal_generator_fmcw_c.

To avoid accidental use of raw pointers, radar::signal_generator_fmcw_c's constructor is in a private implementation class. radar::signal_generator_fmcw_c::make is the public interface for creating new instances.


The documentation for this class was generated from the following file: