Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 10-04-2022, 14:33   #1
Registered User

Join Date: Feb 2022
Posts: 11
openCPN course over ground unsteady

I'm using OpenCPN on a powered catamaran cruising about 10 knots running on a raspberry PI 4. I use a Richie fluxgate compass and the OpenCPN dashboard magnetic compass heading display looks steady. I take GPS from a module that uses an MT3333 chip and seems to give very good accuracy i.e. within the length of the boat. The connection between OpenCPN and the GPS is via gpsd. All looks good on the display when following a route except that at times the course over ground seems to change and at some points the image of my boat can be pointing backwards. All other parts of the display are good including the 'road' as part of the active route console window. I run in the 'course up' mode and the display is steady apart from the COG moving around. Its annoying but doesn't affect navigation. Any suggestions gratefully received. Thanks Colin
ColinTapp is offline   Reply With Quote
Old 19-04-2022, 05:14   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,800
Images: 2
Re: openCPN course over ground unsteady

You have asked this question elsewhere and not provided enough information.
rgleason is offline   Reply With Quote
Old 19-04-2022, 06:51   #3
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

I'm having engine issues which have stopped me getting the data. I will update as soon as possible.
ColinTapp is offline   Reply With Quote
Old 25-04-2022, 06:44   #4
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

Sorry about the delay getting back to you but I had engine problems that needed fixing before I could get data. I recorded data from the route and it appears that its a compass problem as shown below: $HCHDM,343.6,M*2B $HCHDM,343.1,M*2C $HCHDM,189.7,M*2E $HCHDM,343.4,M*29 $HCHDM,343.8,M*25 This is very strange as its a commercial compass. I have seen something similar with a compass I built using a bocsh BN0o55 sensor. More investigation needed but its not an OpenCPN problem. Thanks for your time Colin
ColinTapp is offline   Reply With Quote
Old 25-04-2022, 07:13   #5
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,800
Images: 2
Re: openCPN course over ground unsteady

Thank you for your report and determination.

You could turn off the compass of course or use the OpenCPN options>connections or nemaconverter_pi to filter out the compass. Have you verified that the checksum is correct for the HCHDM?

Quote:
Originally Posted by ColinTapp View Post
Sorry about the delay getting back to you but I had engine problems that needed fixing before I could get data. I recorded data from the route and it appears that its a compass problem as shown below: $HCHDM,343.6,M*2B $HCHDM,343.1,M*2C $HCHDM,189.7,M*2E $HCHDM,343.4,M*29 $HCHDM,343.8,M*25 This is very strange as its a commercial compass. I have seen something similar with a compass I built using a bocsh BN0o55 sensor. More investigation needed but its not an OpenCPN problem. Thanks for your time Colin
rgleason is offline   Reply With Quote
Old 25-04-2022, 07:27   #6
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

Thanks for the suggestions and I can of course just turn off the compass but there has to be a better option. I have checked the checksum and its correct. I made my own compass using the Bosch 9 axis sensor and wrote some python code to calculate the heading and convert to NMEA format. I had the same problem of the boat changing direction. I found a Ritchie compass expecting that there was a bug in my code but I'm seeing the same issue. Now that I know about getting a record of the route, I can look further. It sounds like electrical interference or something similar. Nothing is ever simple on a boat :-(. Colin
ColinTapp is offline   Reply With Quote
Old 25-04-2022, 07:31   #7
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

p.s. I want to use the compass to align the radar overlay with the chart on OpenCPN
ColinTapp is offline   Reply With Quote
Old 25-04-2022, 08:51   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,800
Images: 2
Re: openCPN course over ground unsteady

Maybe some clamps in the right places?
rgleason is offline   Reply With Quote
Old 25-04-2022, 08:59   #9
Registered User
 
Bill O's Avatar

Join Date: Jul 2015
Boat: Bruce Bingham Christina 49
Posts: 3,329
Re: openCPN course over ground unsteady

Have you looked at your NMEA log, is your GPS dropping out?

We have two GPS inputs going into our RPi, a primary and back up if the primary drops out.
__________________
Bill O.
KB3YMH
https://phoenixketch.blogspot.com/
Bill O is offline   Reply With Quote
Old 25-04-2022, 09:07   #10
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

I have two GPS inputs but filter one out so openCPN only sees one. Doesn't the plotter software get confused with 2 GPS inputs. My boat has several GPS's, none of which put the boat in the same place. Boat position and GPS based course over ground are fine and the GPS doesn't drop out. Its the electronic compass that gives spurious results.
ColinTapp is offline   Reply With Quote
Old 25-04-2022, 09:13   #11
Registered User
 
Bill O's Avatar

Join Date: Jul 2015
Boat: Bruce Bingham Christina 49
Posts: 3,329
Re: openCPN course over ground unsteady

The 2nd gps is as a back up and only kicks in if the primary drops out. So no it doesn't interfere in this configuration.
__________________
Bill O.
KB3YMH
https://phoenixketch.blogspot.com/
Bill O is offline   Reply With Quote
Old 25-04-2022, 09:20   #12
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

How do you have a 2nd GPS that only kicks in if the primary fails? I get my GPS data from the GPS via GPSD
ColinTapp is offline   Reply With Quote
Old 25-04-2022, 09:32   #13
Registered User
 
Bill O's Avatar

Join Date: Jul 2015
Boat: Bruce Bingham Christina 49
Posts: 3,329
Re: openCPN course over ground unsteady

Originally it was through the multiplexer, now it is through signal K.

Not sure if you are using a RPi, but openplotter gives step by step instructions on how to set it up.
__________________
Bill O.
KB3YMH
https://phoenixketch.blogspot.com/
Bill O is offline   Reply With Quote
Old 25-04-2022, 09:35   #14
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

Thanks. I'm not using signal K but its worth thinking about in future. Yes its running on a raspberry pi 4.
ColinTapp is offline   Reply With Quote
Old 21-05-2022, 03:25   #15
Registered User

Join Date: Feb 2022
Posts: 11
Re: openCPN course over ground unsteady

Just to conclude this thread, I now put the compass data through a simple software filter that removes single values that are too far away from the previous values. This virtually fixes the problem although the boat icon does occasionally move as before. It appears that I'm occasionally getting two wrong values. The display now looks correct apart from a very occasional glitch. Its definitely a compass problem. I have yet to find the cause but I have fixed the effect.
ColinTapp is offline   Reply With Quote
Reply


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 course over ground unsteady ColinTapp OpenCPN 2 17-04-2022 10:34
Gas Stove top burners unsteady, go out when open psychfeld Plumbing Systems and Fixtures 2 20-10-2018 05:57
Miles over ground or over water? homerobarros Navigation 36 13-01-2015 15:58
To ground or not to ground an aluminum arch...that is my question. chrtucke Electrical: Batteries, Generators & Solar 9 06-10-2014 23:17

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 10:19.


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.