Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 13-09-2010, 22:53   #1
Registered User

Join Date: Sep 2010
Posts: 1
OpenCPN and AIS

Hi,

I've used OpenCPN this summer during two months of sailing. My VHF with AIS is connected to my PC.
The AIS alarm is set to 2 miles and 30 minutes. I'v found a little problem (really not blocking).

When the CPA/TCPA is inside the limit an alarm window appears which can be aknoledged, and the window doesn't re-appear again...

EXCEPT, if the CPA/TCPA is close to the limit (2 miles / 30 minutes) and go inside then outside then inside again of this limit.

- going inside, the target becomes red, the alarm appears : acknoledge
- going outside, the target becomes green, and I think is removed from a table or list of dangerous targets.
- going inside again, the target becomes red again, and the alarm re-appears although it has been acknoledged a few seconds before.

It can occurs many many times, because each time a target becomes dangerous, OpenCPN has forgotten it has been already acknoledged.

By the way, all is very all right, many thanks to OpenCPN.
miric06
miric06 is offline   Reply With Quote
Old 14-09-2010, 00:25   #2
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
miric06

the issue has been discussed just recently and a feature request for opencpn has been entered:

FS#104 : AIS - avoid alarm loops

I could be called a bug, but I thought feature request sounds nicer.

I do hope to get this fixed soon..

Dirk
LeaseOnLife is offline   Reply With Quote
Old 14-09-2010, 02:53   #3
Registered User
 
richardhula's Avatar

Join Date: Nov 2008
Location: UK
Boat: S M Hudson 60' narrowboat
Posts: 347
Send a message via Skype™ to richardhula
Tricky one. Whilst someone has reported this issue as a feature request they haven't asked for it to be implemented in any specific way.

Calling it an alarm loop surely is not correct. OpenCPN is merely working perfectly as configured & providing alarm to individual instrusions into the user defined limits. The exact same issue can happen with a guard zone alarm on radar.

Any mod to avoid this happening regularly would remove or reduce the defined safety margin either with an individual target or any at all, albeit for maybe a short period.

I guess you could have an "ignore repeat marginal target alarm" option. A database could be built for each target intrusion recording the distance/time the intrusion alarm was canceled. Only further instrusions into this new reduced limit would cause the alarm to trigger for that particular target. The user would need to be vigilant of the reduced time/distance limits though. There would also have to be a timeout beyond which a particular targets data was flushed.

I can't see a totally safe software answer to this issue. I would suggest the user take control & change the alarm trigger to suit. This puts the responsibility quite rightly on his/her shoulders rather than the programmers.
__________________
Richard

If in doubt RTFM
richardhula is offline   Reply With Quote
Old 14-09-2010, 04:33   #4
Registered User
 
Viking Sailor's Avatar

Join Date: Nov 2006
Location: San Francisco Bay
Boat: Fantasia 35
Posts: 1,251
What you are looking for is hysteresis. That is, after an alarm has been acknowledged, the CPA/TCPA limits for that target is reduced by X% of the original limits.

One way to implement this is to use an acknowledgement count. Where each count equals a 10% reduction in the CPA/TCPA limits. Thus, if the acknowledgement count is limited to 5 then the original CPA/TCPA of 2 miles and 30 minutes would dynamically change to 1 miles and 15 minutes. This particular implementation results in a maximum of 5 acknowledgements and a 50% reduction in the CPA/TCPA limits. There are of course many other possible implementations.

Viking Sailor is offline   Reply With Quote
Reply

Tags
ais


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN on an iPad ? Christian Van H OpenCPN 65 17-06-2017 17:46
PDA with OpenCPN bg9208 OpenCPN 0 02-03-2010 14:46
OpenCPN bdbcat OpenCPN 1343 19-09-2009 15:59

Advertise Here


All times are GMT -7. The time now is 09:12.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.