This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad Compass
#1
Hi guys,

I have finally completed the installation of my Tinypilot AP + ST4000 wheel, and while the AP seems to works relatively well, I am having this message when I look at the calibration info:

[Image: Capture.png]

I have tried to do more 180/360 turns with the boat but it has not improved.

Is it because my Tiny Hat is too close to the motor controller which might generate interferences?

As I said, the AP works relatively good at keeping its route, but I am wondering it will affect its performance with high wind.
Reply
#2
I'm not sure it will be different in high wind, if it works ok it should be the same.

If possible maybe try to move the dc-dc converter outside the box. If it works ok, then maybe the definition of "bad" should change...
Reply
#3
(2020-09-18, 09:50 PM)seandepagnier Wrote: I'm not sure it will be different in high wind, if it works ok it should be the same.

If possible maybe try to move the dc-dc converter outside the box.   If it works ok, then maybe the definition of "bad" should change...

Thanks I am going to try that!
Reply
#4
if possible maybe also move the motor controller further away. Your deviation of 0.07 is quite high, I would aim for 0.03 or lower, but as you said it steers a course so maybe you don't care. What you might find is the compass heading will be inaccurate. For example, if you turn 90 degrees it may only change by 80 degrees, then turn another 90 and it changes 100.
Reply
#5
(2020-09-21, 10:16 PM)seandepagnier Wrote: if possible maybe also move the motor controller further away.   Your deviation of 0.07 is quite high, I would aim for 0.03 or lower, but as you said it steers a course so maybe you don't care.    What you might find is the compass heading will be inaccurate.  For example, if you turn 90 degrees it may only change by 80 degrees, then turn another 90 and it changes 100.

I followed your advice and I got much better results! Thanks.
[Image: Capture.jpg]
This was done from home where I got "poor" last time, I will reinstall everything on the boat tomorrow and hopefully I will get the same.

Vince
Reply
#6
I put everything back on the boat and it worked much better! Now I get Good/0.02 and I sailed in moderate wind without any issue! Thanks
Reply
#7
Did it not work before in moderate wind? The main improvement you should see is more accurate compassing (turning 90 actually changes compass by 90)

It would be interesting to know if it was the controller or power supply that caused the deviations... I"m guessing the power supply
Reply
#8
I could be wrong here, but the problem might be the orientation of your IMU. The MPU board containing the IMU should be horizontal not vertical, and the yellow capacitor should face towards the front of the boat. I think the magnetic heading is only correct with this orientation.

(Would love to know if I'm wrong. My autopilot would be better mechanically if I could mount it vertically like you've done!)
Reply
#9
It doesn't matter how you mount it, but you need to level the sensors once mounted.
Reply
#10
(2020-09-29, 10:52 PM)seandepagnier Wrote: Did it not work before in moderate wind?   The main improvement you should see is more accurate compassing (turning 90 actually changes compass by 90)

It would be interesting to know if it was the controller or power supply that caused the deviations...   I"m guessing the power supply

Yes it did work before even with bad compass, but I feel that the course correction has improved. I sailed again today and I really felt the improvement when sailing close hauled, I used to get caught into the wind but this time I felt like the AP was able to hold the course better.

I am planning on changing the enclosure boxes with something smaller, I will try to reproduce the issue with the dc and motor controller to see what caused the issue

(2020-09-30, 08:44 AM)CapnKernel Wrote: I could be wrong here, but the problem might be the orientation of your IMU.  The MPU board containing the IMU should be horizontal not vertical, and the yellow capacitor should face towards the front of the boat.  I think the magnetic heading is only correct with this orientation.

(Would love to know if I'm wrong.  My autopilot would be better mechanically if I could mount it vertically like you've done!)

As said by Sean, it does not matter once you level the sensor. Also for the compass reading you can actually correct +/- the Heading so it matches your regular compass. I think it's in calibrate\heading
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)