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

Possible enhancement for PlutoWeb #42

Open
glangsto opened this issue Jan 12, 2019 · 4 comments
Open

Possible enhancement for PlutoWeb #42

glangsto opened this issue Jan 12, 2019 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@glangsto
Copy link

glangsto commented Jan 12, 2019

I've been trying to write a custom bit of C-code to detect events in the PlutoSDR data stream.
This would run in the PlutoSDR and write sequences of samples centered on detected
events, time tagged.

For radio astronomy, and particularly cosmic ray detection, it would be fantastic to have
a bit of code watching the PlutoSDR data stream, at wide bandwidth (60 MHz), and would record
rare radio flash events. The duty cycle would not be large, not more than about 1 event a minute,
so the data rate would not be too high. The detection would be based on setting a
threshold number of "sigma" of an event, which would be large, say 10 sigma, so would
never happen for Gaussian distributed noise.

This would also be useful for other Radio research, like detecting 1 PPS pulses, or other
equipment glitches.

Our group of researchers is building a high-school level radio astronomy system, that
would also have a really important key science project, which is very timely,
understanding the cosmic ray background of extreme high energy events. The flashed are created
when extremely high energy cosmic rays hit the earth's atmosphere. The reason
this would be a great project for high schools is that these cosmic ray flashes only cover
a small area, about the size of a football field. So each set of a few telescopes
would be making a unique contribution. These flashes are rare, a few per year, but
with energies thousands of times higher than can be created in the biggest particle
accelerator.

More info is at: https://opensourceradiotelescopes.org/wk

I'm working on a prototype to run inside gnuradio, but the data rate must be
much smaller in Gnuradio.

Our telescope software is at: https://www.github.com/glangsto/gr-nsf

Thanks again for your time and consideration. PlutoWeb is a great advance.

@unixpunk unixpunk added enhancement New feature or request help wanted Extra attention is needed labels Jan 12, 2019
@unixpunk
Copy link
Owner

This all is a bit beyond my ability, though if you have a workable solution I can probably add it to the firmware without much effort.

@ImDroided
Copy link
Collaborator

ImDroided commented Jan 12, 2019 via email

@glangsto
Copy link
Author

I've created the Python version of event detection for gnuradio and gnuradio-companion.
This event detection code is available at
git clone http://www.github.com/glangsto/gr-nsf

A demo graph, eventdemo.grc, shows how the detection is expected to work.

To run at a the full 60 MHz rate on the PlutoSDR this would need to be implemented in C.
The event detection needs to run in parallel to PlutoSDR responding to gnuradio requests.
I've checked the PlutoSDR cpu usage with "top" while gnuradio is requesting data.
The PlutoSDR has plenty of cpu cycles remaining, so event detection should work fine

@unixpunk
Copy link
Owner

Nice. Does the compiled C code need any outside tools/deps like gnuradio? In short, could I compile it and put just the bin and the other few files directly on the pi and execute it via ssh cli without any other interfacing involved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants