Jump to content
43oh

[POTM] dAISy - A Simple AIS Receiver


Recommended Posts

Hmm, signal strength is easy, I already have that information. Probably would need to be calibrated depending on the antenna, but it's a solution that avoids a GPS module and packet inspection. Not that they are expensive (starting at $15) or that power hungry (~ 50 mA), but certainly saves time in code development and system complexity.

Link to post
Share on other sites
  • Replies 327
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Overview dAISy (do AIS yourself) is a very simple AIS receiver that I developed from scratch. It is built around the Silicon Labs EZRadioPRO Si4362 receiver, using a Texas Instruments MSP430G2553 MC

Ain't she pretty?    

Good news for everyone having difficulties sourcing the Si4362 radio IC.   I verified that the transceiver Si4463 works with dAISy. This probably also applies to Si4460 and Si4461. Besides being mor

Posted Images

  • 3 weeks later...

http://www.bosunsmate.org/ais/ has some info on the NMEA packet structure.

As for the sailboat, checking every 5 minutes for 1-2minutes for a new vessel within a packet may be all that is required.

I can't test this yet as I'm still building mine, had to buy a hot air rework station, solder paste etc as the filter component changes are way too small for a soldering iron. Anyway it is about time I moved into the 21st century.

Link to post
Share on other sites

Complete AIS protocol documentation can be found here: http://catb.org/gpsd/AIVDM.html

 

@@PaulTech my cheap hot air station saved my butt more than once, best investment ever.

 

In other news, as posted on other threads, I found a case for dAISy USB. It required redoing the board layout, but I really like the new form factor.

post-9974-0-23916100-1414199800_thumb.jpg

 

I also learned, that the LDO I use (MIC5205) does not like MLCCs as output capacitors. I had to go back to tantalum caps to get rid of a 200mVpp oscillation.

 

And I finally got a "real" AIS receiver off eBay. Turns out dAISy still has a long way to go to compete with these. :unsure: But then, this particular model costs $450 new ($400 without GPS) and is about 7x the size (volume) of dAISy.

post-9974-0-75229600-1414885941_thumb.jpg

Link to post
Share on other sites

Not sure what NMEA they refer to. It sends AIVDM messages over old-fashioned serial, plus addtional messages about its own position.

 

Compared to dAiSy it seems more sensitive. With the same antenna, about 5 times more messages are received and range is about double. The SR162 is much better at receiving targets that are not in direct sight, e.g. behind hills.

Link to post
Share on other sites

Thank you for your input @@PaulTech. My current suspicion is, that noise and/or selectivity play the bigger role than sensitivity:

  • @@gmtii's station typically covers around 50 NM, and up to 500 NM when weather cooperates
  • when adding a 162MHz, 14MHz bandpass filter, local reception improves (at the loss of fewer outliers beyond 100 NM, which I attribute to the 1.9dB insertion loss)
  • even for ships clearly within range of dAISy, the professional AIS receiver is much better at picking up the (2.5x longer) static and voyage related data messages

I already work on adding a bandpass filter to the PCB, so maybe I should just add an amplifier and see what happens. Any pointers to a suitable MMIC, and/or articles for beginners about the topic?

Link to post
Share on other sites

Try the minicircuits site for MMICs as well, the filter looks like an easy solution as it would stop a lot of interference that the onboard filter just isn't designed to deal with.

http://www.minicircuits.com/products/Amplifiers_what_is_new.shtml

you really don't need much bandwidth so a MMIC that goes to 1GHz would work. I still have lots of the first gen MMICs as I had to buy a whole strip as they were special order way back. Even these old MMICs are very very handy, you can mount at antennas very easily. Just check the noise figure, as some can be a bit noisey and when you amplify the signal by 15db ,you also amplify the noise by 15db + amplifier noise.

Link to post
Share on other sites

MMICs are super easy to use at 162MHz, they're designeg to have 50ohm in &out, they just need a little power. Deadbug on a tiny bit of PCB.

the channel spacing for AIS is 25KHz and so the filter could be set a little big bigger 30-40KHz, not to much or more noise will get in , but a little wider to allow for any transmitters which either be drifting or have the modulation set a little too high. As you noticed too narrow doesn't work too well.

Link to post
Share on other sites

the channel spacing for AIS is 25KHz and so the filter could be set a little big bigger 30-40KHz, not to much or more noise will get in , but a little wider to allow for any transmitters which either be drifting or have the modulation set a little too high. As you noticed too narrow doesn't work too well.

This made sense to me, and I ran a few test today with 30 and 40kHz. The results are, that 25kHz seems to be the sweet spot.

 

I also found an app note about IR calibration for the 446x (AN790 http://www.silabs.com/Support%20Documents/TechnicalDocs/AN790.pdf), and it turns out I did it wrong. From my unscientific tests I think doing it right reduced the error rate a bit and extended range.

 

I also no longer put the MSP430 into low power mode, as I observed a minor (<10mV) ripple on the power rail when the CPU woke up. Again, I imagine a slight increase in successfully received messages.

 

I will push these two changes to Github shortly.

 

The MMIC is next in line, but needs a bit more preparation.. probably won't happen before thanksgiving.

 

Thanks all for your input.

Link to post
Share on other sites
  • 2 weeks later...

I built up and tested the new revision with MMIC amplifier and bandpass filter (direct coupled resonator bandpass filter, ~6 MHz bandwidth). Still not up there with the professional receiver, but definitely an improvement. Thanks again to everyone for your input!

 

I put the amplifier after the bandpass filter:

post-9974-0-58368400-1416706907_thumb.png

 

But thinking about it now, putting the amplifier before the bandpass might have been better. As it is now, I amplify noise introduced by the bandpass and might also lose some signals to the attenuation of the bandpass (about -5dB according to LTSpice).

 

Is this correct, or is the impact of the order negligible?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...