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

FR: AIS RX - Monitor both freqs at the same time #2107

Open
tubalainen opened this issue Apr 16, 2024 · 14 comments
Open

FR: AIS RX - Monitor both freqs at the same time #2107

tubalainen opened this issue Apr 16, 2024 · 14 comments
Labels
enhancement New feature or request

Comments

@tubalainen
Copy link

Description of the feature you're suggesting.

Does the CPU have enough horsepower to monitor/RX both the VHF AIS frequencies (87B and 88B) at the same time? Would love to have that option next to monitor each freq individually. Thanks to all the devs for a fantastic firmware!

Anything else?

No response

@tubalainen tubalainen changed the title AIS RX - Monitor both freqs at the same time FR: AIS RX - Monitor both freqs at the same time Apr 16, 2024
@eried
Copy link
Member

eried commented Apr 16, 2024

Do you mean channel A and B or decoding those two message types (87B and 88B)?

@tubalainen
Copy link
Author

Do you mean channel A and B or decoding those two message types (87B and 88B)?

Nope.
I mean decoding both the channels 87B and 88B at the same time. Not the the simplex A channels/freqs. :)
Not sure what you mean with "two message types", message types to me for IAS refers to the TU M.1371-5 standard (27 message types in that standard).

Perhaps I am misunderstanding you question...?

@eried
Copy link
Member

eried commented Apr 16, 2024

oh, so 87B (161.975 MHz) and 88B (162.025 MHz)? I though it was called A/B

Im thinking how cheap equipment does it, like an rtlusb dongle, I imagine most modern receivers tune to both without switching

@tubalainen
Copy link
Author

oh, so 87B (161.975 MHz) and 88B (162.025 MHz)? I though it was called A/B

Im thinking how cheap equipment does it, like an rtlusb dongle, I imagine most modern receivers tune to both without switching

Yep, exactly! There´s lots of projects out there that does exactly this. Monitors and decodes both 87B (161.975 MHz) and 88B (162.025 MHz) at the same time.
I personally use this running in a docker here at home: https://github.com/jvde-github/AIS-catcher I use an RTL-SDR on it. :)

TL:DR - The bandwidth is very low hence the two frequencies are so close to each other, so the demodulation and decoding capacity should(?) be there in the portapack?

@eried
Copy link
Member

eried commented Apr 16, 2024

yeah it should be possible, eventually losing some messages, but thats a given. If you feel adventurous to try to hack a solution I would start with the jammer code that already offers the freq hop 😁

@tubalainen
Copy link
Author

tubalainen commented Apr 16, 2024

yeah it should be possible, eventually losing some messages, but thats a given. If you feel adventurous to try to hack a solution I would start with the jammer code that already offers the freq hop 😁

Thats the good thing here - no hopping required. We can monitor both freqs at the same time hence they are so close to each other in freq. My coding skills are at "using chatgpt to generate the shit I need".. You dont want me anywhere near this beautiful code. ;)

@NotherNgineer
Copy link
Contributor

There are no ships in my area to test this, but since we're setting the RX bandwidth to 1.75MHz it's likely that we're already picking up broadcasts on both frequencies, since they're so close, regardless of the channel setting.

@tubalainen
Copy link
Author

There are no ships in my area to test this, but since we're setting the RX bandwidth to 1.75MHz it's likely that we're already picking up broadcasts on both frequencies, since they're so close, regardless of the channel setting.

Hi N! Yea, that might be the case. But it only decodes one channel at a time. Perhaps this is a very simple adjustment of the code to bring in a great feature? - Decode both channels at the same time. In the "Ch" selection, one can pick both, 87B or 88B. :)

@NotherNgineer
Copy link
Contributor

As far as I can tell, changing the channel only modifies the receive frequency (I don't see any decoding changes when the Ch field is changed). So my guess is that this should already work.

@Brumi-2021
Copy link
Contributor

Brumi-2021 commented Apr 17, 2024

Hi , @NotherNgineer ,
As far as i remeber , my guess is that it will not work . I think that we are prefiltering that signal with a narrow filter to allow only one channel Content . (As it is intended )
I can easily check it and report here, but that is my understanding.

I tested what you said in GNUradio and other SDR's receivers, and it works quite well .
I think we could consider to add that double simultaneous both channel decoding option . (But Not sure if it will skip some small % message if they both are overlapped in time )
I will update that comment with my next quick dual test .

Hi again
Confirmed , current Mayhem AIS , is only decoding the msg's in the sslected tuned channel . (As it was intended) .

Cheers

@zxkmm zxkmm added the enhancement New feature or request label Apr 18, 2024
@Brumi-2021
Copy link
Contributor

Hi , @tubalainen , concept wise , I know how to do it by gnuradio or any other simulation, but I need to learn and think how to implement in Mayhem . After some other current Job i will try to consider about it , but if any other colleague wants to start now , you are also welcome !

@NotherNgineer
Copy link
Contributor

If we really can monitor multiple frequencies at once, it could also help in some other apps including TPMS and BLE-RX.

@NotherNgineer
Copy link
Contributor

I was near a marine harbor this week and it looked like the same ships appeared in the list regardless of the channel setting.

@przemo-c
Copy link

przemo-c commented Aug 5, 2024

I was near a marine harbor this week and it looked like the same ships appeared in the list regardless of the channel setting.

I'm not sure that's verification that it decodes both. Almost all ships and other AIS transponders sent messages on both channels when I go via rtl-sdr and ais-catcher on android.

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

No branches or pull requests

6 participants