-
Notifications
You must be signed in to change notification settings - Fork 112
Doppler
If you upgrade your software to the latest master-b branch, you can try out simulated Doppler Shift.
Here's a Raspberry Pi Disk Image you can download and write to a 16 GB micro SD card or larger. The usual username pi and password raspberry
Here's the instructions you can use if your Pi Zero 2 is connected to the internet:
cd
cd CubeSatSim
git pull
git checkout master-b
./upgrade
You will need to reboot when the upgrade is finished.
Doppler frequency shift occurs if there is a speed difference between a transmitter and a receiver, such as an orbiting satellite and a ground station on the earth.
The CubeSatSim can simulated Doppler shift by assuming an orbit, calculating the frequency shift, then applying that new frequency each time the CubeSatSim begins a transmission. This allows for simulated Doppler shift for APRS, CW, SSTV, and Repeater modes. For continuous transmission modes such as FSK, BPSK, and FUNcube, Doppler shift can't be simulated.
The best way to observe Doppler shift is to use CW (Morse Code) mode, since the frequency can be updated after each character is transmitted. Also, when Doppler shift is enabled, the CubeSatSim will transmit true CW, instead of the FM modulated CW audio that it normally uses. You will decode this CW using USB or LSB decoding (CW modes also work, but the wider bandwidth of USB and LSB mode is easier). You will hear the tone of the CW signal change over time.
In APRS and SSTV modes, each time a new transmission starts, the frequency will be slightly different. In the Cross Band Repeater mode, each time you transmit and break the squelch, the repeated transmission frequency will be slightly different.
Here's how to try it. First switch to CW Mode (Morse Code) by pressing and holding the pushbutton until 5 blinks, or by logging into your Pi Zero 2 and typing this command:
CubeSatSim/config -m
After a reboot or a restart, you should hear CW on 434.9 MHz. It will be the usual FM mode. To hear the Doppler shift, you will need a 70cm SSB radio or an SDR such as the RTL-SDR and the Raspberry Pi Ground Station (FIABv4) or your computer.
To turn on simulated Doppler shift, use this command:
cd
CubeSatSim/config -K
Type y or yes to enable Doppler shift, then type sim for Simulated Doppler Shift mode:
pi@cubesatsimc:~ $ CubeSatSim/config -K
CubeSatSim v2.2 configuration tool
Editing the Doppler frequency shift setting in
the configuration file for CubeSatSim
Simulated Doppler frequency shift mode enabled
Do you want Doppler frequency shift ON (y/n)
y
Do you want simulated Doppler shift or rigctld Doppler (sim/rig)
sim
Simulated Doppler frequency shift mode enabled
CubeSatSim configuration sim.cfg file updated to:
AMSAT 2 0.0000 0.0000 no 3 434.9 435 no 0 0 no 60 sim
Restarting
After the restart or reboot, the sound of the CW will change. If you are still listening using FM, instead of tones, you will hear clicks. If you are looking on an SDR waterfall, the signal will be much skinnier. If you select USB decoding and click just to the left of the signal, you should hear the Morse Code tone again.
The blue transmit LED will also blink on and off with each dit and dah when Simulated Doppler Mode is enabled.
The frequency will be slightly shifted from your 434.9 MHz default (or another frequency if you used the CubeSatSim/config -F command to change it). The frequency will initially be close to 434.909 MHz, but it will decrease over time. The rate is also slightly slower.
As you listen over time, you should hear the note of the CW tone decrease. After a minute or two, the tone might go away as the frequency has shifted below where you are tuned. Click again to just to the left of the signal, and you will hear it again. About 5 minutes since you enabled, the frequency will be at 434.9 MHz, but it will also be changing rapidly. If you zoom into the waterfall (if you are using OpenWebRX, click on the magnifier plus icon in the lower right box a few times, you will be able to see the frequency bending over time.
Here's how it looks in OpenWebRX if you slow down the waterfall (by clicking on the Settings icon in the top left, logging in with the username admin and password raspberry and then click on General Settings then scroll down to Waterfall Settings and for FFT Speed set 2 then click Apply and Save.
After another 5 minutes, the frequency will not be changing very fast, and will be around 434.891 MHz. Then, the frequency will jump back to around 434.909, which is as if it is the start of a new pass (AOS).