DIY AutoSteer with AgOpenGPS - Page 175 - The Combine Forum
 1214Likes
 
LinkBack Thread Tools
post #1741 of 2024 (permalink) Old 05-03-2019, 05:48 PM
Member
 
Join Date: Mar 2018
Location: Rock Valley, Iowa
Posts: 86
Mentioned: 1 Post(s)
Quoted: 35 Post(s)
Quote:
Originally Posted by BrianTee View Post
It'll smooth out the readings, but the delay will be horrendous and won't autosteer very well.
I have had many discussions with employees about process control algorithms; the main point of which was that ALL filtering is DELAY! With a dynamic process, ANY delay can be VERY undesirable.

dairytech is offline  
Sponsored Links
Advertisement
 
post #1742 of 2024 (permalink) Old 05-03-2019, 07:31 PM
Senior Member
 
Join Date: Jan 2011
Location: Mundare Alberta
Posts: 1,100
Mentioned: 2 Post(s)
Quoted: 289 Post(s)
Yes, I thought about the delay. I tried his sketch out and with the array as he wrote it would be too much lost time for steering. My thinking is to shrink the array so that if you do hit a bump and jar the WAS it will smooth it out slightly, even averaging 3 readings I think would be helpful. After all even steering manually you still need that bit of correction after a bump. I am going to play around with it tonight and see if it is at all usable on the bench.


You get what you put in and people get what the deserve. - Kid Rock

The more seriously you take things, the harder the rules become.

If it is broken, fix it. If it isn't broken, I'll soon fix that.
Beerwiser is online now  
post #1743 of 2024 (permalink) Old 05-03-2019, 09:37 PM
Member
 
Join Date: Nov 2018
Location: Germany, NRW
Posts: 63
Mentioned: 0 Post(s)
Quoted: 25 Post(s)
The delay will depend on the sampling frequency.
If you acquire a sample every 5ms (no problem for the ADS), an moving average with 20 values is the average of the last 100ms.


But I'd recommend some median sampling, faster and also good at reducing noise:
  • Sample an odd number of values (e.g. five or seven)
  • sort them
  • Take the value in the middle
It has less delay than an moving average and short but "extreme" values get "thrown away", so depending on the noise pattern it can be more robust.
Beerwiser likes this.
doppelgrau is offline  
Sponsored Links
Advertisement
 
post #1744 of 2024 (permalink) Old 05-04-2019, 05:34 AM
Junior Member
 
Join Date: May 2019
Posts: 6
Mentioned: 0 Post(s)
Quoted: 0 Post(s)
You should be getting data every 200 msec with a 5 hz nmea and 100 with a 10 hz. The only time you miss data is if something went really wrong, but 99.99% of the time it should just be there.
martinbrown986 is offline  
post #1745 of 2024 (permalink) Old 05-04-2019, 06:33 AM
Member
 
Join Date: Mar 2019
Posts: 31
Mentioned: 0 Post(s)
Quoted: 11 Post(s)
Hello I am using this library for analog readings is quite successful. It doesn't slow down even at 25 samples.

https://michaelthessel.com/analog-sm...y-for-arduino/
kaanakgser is offline  
post #1746 of 2024 (permalink) Old 05-04-2019, 11:05 AM Thread Starter
Senior Member
 
Join Date: Aug 2012
Location: Vermilion Alberta Canada
Posts: 5,740
Mentioned: 19 Post(s)
Quoted: 2503 Post(s)
Well there are three ways to look at this:

1. Do some math to the signal and filter it to look smooth.
2. Just fix the noise.

3. Determine if it is actually noisy. (if the noise is 0.01 degrees, its not noisy at all - even 0.1)
dairytech likes this.
BrianTee is offline  
post #1747 of 2024 (permalink) Old 05-05-2019, 03:07 PM
Member
 
Join Date: Jun 2018
Posts: 32
Mentioned: 0 Post(s)
Quoted: 19 Post(s)
Hey guys!

Where can I order these or comparable units in Canada for hydraulic autosteer -

http://www.fiama.it/en/trasduttori-r...ali/125/1.html
https://www.savery.co.uk/products/vi...-closed-center
https://www.savery.co.uk/products/vi...way-3-position

As always, thank you for your help
SeekSolice is offline  
post #1748 of 2024 (permalink) Old 05-06-2019, 10:37 AM
Junior Member
 
Join Date: Oct 2018
Location: Sussex England
Posts: 15
Mentioned: 0 Post(s)
Quoted: 3 Post(s)
https://youtu.be/68W1-3v8748

Hi this is a video of my AgOpen GPS AutoSteer working.
BrianTee, Kaupoi and SeekSolice like this.
kuridge is offline  
post #1749 of 2024 (permalink) Old 05-07-2019, 09:25 AM
Senior Member
 
Join Date: May 2018
Location: Serbia, Novi Sad
Posts: 155
Mentioned: 1 Post(s)
Quoted: 73 Post(s)
Does anyone know what it can be?


AOG only reads up to 45 degrees of WAS = 2V

But between GND and SIGNAL the voltage goes up to 4.2V when I push it to the end.
ropecope is offline  
post #1750 of 2024 (permalink) Old 05-07-2019, 04:12 PM
apm
Senior Member
 
apm's Avatar
 
Join Date: Mar 2018
Location: East Chapman, West Australia
Posts: 108
Mentioned: 4 Post(s)
Quoted: 45 Post(s)
Quote:
Originally Posted by ropecope View Post
Does anyone know what it can be?


AOG only reads up to 45 degrees of WAS = 2V

But between GND and SIGNAL the voltage goes up to 4.2V when I push it to the end.
Bit more info would be helpful. Which .ino using? Whats the raw values at the arduino for full left, 0 & full right? Counts degree?

BrianTee likes this.
apm is offline  
Sponsored Links
Advertisement
 
Reply

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the The Combine Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Posting Rules  
You may post new threads
You may 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 On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome