VCO (complex): Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
VCO - Voltage controlled oscillator.  Produces a sinusoid of frequency based on the amplitude of the input.  See [[VCO]] for a real (not complex) sinusoidal output.
VCO - Voltage controlled oscillator.  Produces a sinusoid of frequency based on the amplitude of the input.  See [[VCO]] for a real (not complex) sinusoidal output.


input: float stream of control voltages; output: complex oscillator output
input: float stream of control voltages;  
 
output: complex oscillator output


== Parameters ==
== Parameters ==
Line 9: Line 11:


; Sensitivity
; Sensitivity
: units are radians/sec/volt
: units are radians/sec/(input unit)


; Amplitude
; Amplitude
Line 16: Line 18:
== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
This flowgraph shows a Radioteletype (RTTY) transmitter and receiver. The upper portion is the transmitter. The parameters for the VCO are explained in [[VCO]].<br>
The lower portion of the flowgraph is a single sideband (SSB) receiver. The audio can be fed into a RTTY decoder such as shown in [[Sample_Rate_Tutorial#Source_hardware_example]].
 
[[File:USRP_RTTY_fg.png|710px]]


== Source Files ==
== Source Files ==


; C++ fileshttps://wiki.gnuradio.org/index.php/SISO
; C++ files
 
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/vco_c_impl.cc vco_c_impl.cc]
: [https://github.com/gnuradio/gnuradio TODO]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/vco_c_impl.h vco_c_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/vco_c.h vco_c.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_vco_c.block.yml blocks_vco_c.block.yml]

Latest revision as of 13:29, 13 April 2024

VCO - Voltage controlled oscillator. Produces a sinusoid of frequency based on the amplitude of the input. See VCO for a real (not complex) sinusoidal output.

input: float stream of control voltages;

output: complex oscillator output

Parameters

Sample Rate
sampling rate (Hz)
Sensitivity
units are radians/sec/(input unit)
Amplitude
output amplitude

Example Flowgraph

This flowgraph shows a Radioteletype (RTTY) transmitter and receiver. The upper portion is the transmitter. The parameters for the VCO are explained in VCO.
The lower portion of the flowgraph is a single sideband (SSB) receiver. The audio can be fed into a RTTY decoder such as shown in Sample_Rate_Tutorial#Source_hardware_example.

USRP RTTY fg.png

Source Files

C++ files
vco_c_impl.cc
Header files
vco_c_impl.h
Public header files
vco_c.h
Block definition
blocks_vco_c.block.yml