Frequency Mod: Difference between revisions
(correct Sensitivity) |
|||
Line 14: | Line 14: | ||
; Sensitivity (''R'') | ; Sensitivity (''R'') | ||
: | : Sensitivity = (2 * math.pi * deviation) / sample_rate | ||
: where 'deviation' is the desired value for an input not exceeding [-1, 1]. If the input is outside [-1, 1] it can deviate more. | |||
== Example Flowgraph == | == Example Flowgraph == |
Revision as of 20:13, 3 April 2024
This block is an input amplitude controlled complex sine. It outputs a signal, which has a momentary phase increase that is proportional to sensitivity and input amplitude.
More specifically, takes a real, baseband signal (x_m[n]) and output a frequency modulated signal (y[n]) according to:
Where x[n] is the input sample at time n and is the frequency deviation. Common values for are 5 kHz for narrowband FM channels such as for voice systems and 75 kHz for wideband FM, like audio broadcast FM stations. In this block, the input argument is sensitivity, not the frequency deviation. The sensitivity specifies how much the phase changes based on the new input sample. Given a maximum deviation , and sample rate , the sensitivity is defined as:
Parameters
(R): Run-time adjustable
- Sensitivity (R)
- Sensitivity = (2 * math.pi * deviation) / sample_rate
- where 'deviation' is the desired value for an input not exceeding [-1, 1]. If the input is outside [-1, 1] it can deviate more.
Example Flowgraph
Source Files
- C++ files
- frequency_modulator_fc_impl.cc
- Header files
- frequency_modulator_fc_impl.h
- Public header files
- frequency_modulator_fc.h
- Block definition
- analog_frequency_modulator_fc.block.yml