aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/QPSK/qpsk.grc
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-10-28 17:17:35 +0200
committerNao Pross <np@0hm.ch>2021-10-28 17:17:35 +0200
commit72456bd1e5851bbf0ce4cb30ce3ec2b7e86c992a (patch)
tree30123f01f2c029e5844b5759c9cbb0e6db27924c /simulation/QPSK/qpsk.grc
parentMore typos and errors (diff)
downloadFading-72456bd1e5851bbf0ce4cb30ce3ec2b7e86c992a.tar.gz
Fading-72456bd1e5851bbf0ce4cb30ce3ec2b7e86c992a.zip
Implement QPSK TX - RX with USRP hardware
And fix some small issues in QPSK simulation. The signal flow graph was tested with a coaxial cable, as well as with an 2.4 GHz antenna. The constellation diagram looked OK, but the sent data (bytes of lena512color.tiff) were neither decoded nor tested. That is because we need to synchronize data frames with a header thing or something like that (which is still not implemented yet).
Diffstat (limited to '')
-rw-r--r--simulation/QPSK/qpsk.grc26
1 files changed, 12 insertions, 14 deletions
diff --git a/simulation/QPSK/qpsk.grc b/simulation/QPSK/qpsk.grc
index 11a2e6a..3275e96 100644
--- a/simulation/QPSK/qpsk.grc
+++ b/simulation/QPSK/qpsk.grc
@@ -1,7 +1,6 @@
options:
parameters:
author: Pross Naoki, Halter Sara Cinzia
- catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
@@ -23,6 +22,7 @@ options:
sizing_mode: fixed
thread_safe_setters: ''
title: QPSK
+ window_size: ''
states:
bus_sink: false
bus_source: false
@@ -51,7 +51,7 @@ blocks:
gui_hint: 'params@1: 0,0,1,1'
label: Equalizer Rate
min_len: '200'
- orient: QtCore.Qt.Horizontal
+ orient: Qt.Horizontal
rangeType: float
start: '0'
step: '.001'
@@ -108,7 +108,7 @@ blocks:
gui_hint: 'params@0: 1,0,1,1'
label: Frequency Offset
min_len: '200'
- orient: QtCore.Qt.Horizontal
+ orient: Qt.Horizontal
rangeType: float
start: -100e-3
step: 1e-3
@@ -141,7 +141,7 @@ blocks:
gui_hint: 'params@0: 0,0,1,1'
label: Noise Voltage
min_len: '200'
- orient: QtCore.Qt.Horizontal
+ orient: Qt.Horizontal
rangeType: float
start: '0'
step: '0.01'
@@ -162,7 +162,7 @@ blocks:
gui_hint: 'params@1: 1,0,1,1'
label: Phase Bandwidth
min_len: '200'
- orient: QtCore.Qt.Horizontal
+ orient: Qt.Horizontal
rangeType: float
start: '0'
step: '.01'
@@ -200,7 +200,7 @@ blocks:
id: variable
parameters:
comment: ''
- value: firdes.root_raised_cosine(nfilts, nfilts, 1.0/float(sps), 0.35, 45*nfilts)
+ value: firdes.root_raised_cosine(nfilts, nfilts, 1.0/float(sps), excess_bw, 45*nfilts)
states:
bus_sink: false
bus_source: false
@@ -239,7 +239,7 @@ blocks:
gui_hint: 'params@0: 0,1,1,1'
label: Timing Offset
min_len: '200'
- orient: QtCore.Qt.Horizontal
+ orient: Qt.Horizontal
rangeType: float
start: '0.999'
step: '0.0001'
@@ -260,7 +260,7 @@ blocks:
gui_hint: 'params@0: 1,1,1,1'
label: Time Bandwidth
min_len: '200'
- orient: QtCore.Qt.Horizontal
+ orient: Qt.Horizontal
rangeType: float
start: '0'
step: 10e-3
@@ -467,7 +467,6 @@ blocks:
maxoutbuf: '0'
minoutbuf: '0'
samples_per_symbol: sps
- truncate: 'False'
verbose: 'False'
states:
bus_sink: false
@@ -1037,7 +1036,6 @@ blocks:
minoutbuf: '0'
name: '"Channel"'
nconnections: '1'
- norm_window: 'False'
showports: 'False'
tr_chan: '0'
tr_level: '0.0'
@@ -1056,7 +1054,7 @@ blocks:
width7: '1'
width8: '1'
width9: '1'
- wintype: window.WIN_BLACKMAN_hARRIS
+ wintype: firdes.WIN_BLACKMAN_hARRIS
ymax: '10'
ymin: '-140'
states:
@@ -1081,7 +1079,7 @@ blocks:
alpha7: '1.0'
alpha8: '1.0'
alpha9: '1.0'
- autoscale: 'True'
+ autoscale: 'False'
axislabels: 'True'
color1: blue
color10: dark blue
@@ -1098,9 +1096,9 @@ blocks:
entags: 'True'
grid: 'False'
gui_hint: 'plots@2: 0,0,1,1'
- label1: Signal 1
+ label1: Received
label10: Signal 10
- label2: Signal 2
+ label2: Sent
label3: Signal 3
label4: Signal 4
label5: Signal 5