Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modulate sine #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

dwillmore
Copy link
Contributor

I have changed the way that the BPSK modulation is added to the carrier signal to smooth inversions using a Raised Root Cosine shape. This has the effect of reducing the bandwidth of the signal and greatly reducing the sidebands. Spectral plots are included for before and after.

Note that, instead of smoothing the bit transitions on phase boundries, the inversion was moved to the center of the bit cell. This results in the same signal but shifted one half bit time. Since this is a self clocking signal, that should not make any difference in the decoded data, but the test decoder fails to correctly decode the signal. There seems to be some instability in it which needs to be addressed. It looks like an overflow of some type. This can be seen in the waveform plot in the screenshot attached.
Screenshot_2020-07-24_16-09-01

Screenshot_2020-07-24_16-04-46
Screenshot_2020-07-24_16-04-22

dwillmore and others added 2 commits July 24, 2020 13:36
Correct baud_pll to sine value conversion.
Changed src/modulate.c function send_bit() to ramp down modulation
value by RRC before performing a phase reversal.  This has the effect
of narrowing the bandwidth of the modulated signal and greatly
reducing the sidebands.
Signed-off-by: David Willmore [email protected]
@dwillmore
Copy link
Contributor Author

Hold up, I think I found a problem. Investigating. I will update this when I find a resolution.

@bunnie
Copy link
Contributor

bunnie commented Aug 4, 2020

this is so cool! I'm fine to merge this, if you're OK with me merging it (just your latest note said to hold off on doing that...)

@dwillmore
Copy link
Contributor Author

No, it's not ready. I found a large problem and I'm trying to decide if it's easier to recode the whole thing along my way of thinking or to adopt my thinking to the way the code is structured. School is starting for my kids and I've had very few spare brain cycles recently. I'll update this when that changes.

@bunnie
Copy link
Contributor

bunnie commented Aug 5, 2020

take your time! there's no hurry. just checking in, and thank you again for all the effort. g'luck with the kids!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants