|
 |
|
04-12-2008, 08:44 PM
|
#1
|
|
Constant Bitrate
Join Date: Aug 2003
Location: Iowa
Posts: 167
|
My FB project, Question on MOSFETs
Well guys, today was the maiden voyage for the project I've been working on - steering a tractor via GPS. I'm using a fusion brain to read steering angle position, and triggering two outputs that control relays that drive an electro-hydraulic valve that steers the tractor. I was letting the software drive the tractor, which stayed within a range of about one foot of the line.
Can I use a MOSFET instead of a relay? Would the FB outputs be alright with that? The clicky clicky of the relays was a bit louder than I prefer. I could move them somewhere else for testing, but just checking out other options? The solenoids I'm driving are 12vDC at ~3.5 amps.
-Lance
More info (added by greenman100)
Here's a new video:
http://www.youtube.com/watch?v=YFqfTlqF2NY
The machine is a Case IH 2588 combine (~300HP) that is harvesting soybeans at 4 MPH. I'm using the FB to read a steering angle position sensor, a yaw sensor, and a tilt sensor. That is added to a GPS position to drive the machine in a straight line, with each pass parallel and at a consistent distance from the last pass. The fusion brain outputs steering commands, which go to a couple relays, which send power to solenoids on a hydraulic valve that is connected in parallel to the steering wheel orbital.
The header (thing on the front) is 25 feet wide. As you can see in the video, the yaw sensor makes the vehicle control very smooth. It still likes to drift off the line, then slowly come back to it (it can get up to about 8" away from the line.) I'm still working on revising the yaw sensor calibration algorithm, and the method used to calculate what angle the steer axle should be at. Yaw sensors are a royal pain due to their "zero" position changing as they warm up. As slow as the machine is moving, with subtle steering inputs, getting an accurate and precise yaw reading is a challenge.
-Lance
Last edited by greenman100; 12-16-2008 at 03:13 PM.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
04-13-2008, 12:44 AM
|
#2
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
The output uses the ULN2003A which outputs 400mA to 500mA
|
|
|
04-13-2008, 01:27 AM
|
#3
|
|
Fusion Brain Creator
Join Date: Mar 2005
Posts: 2,197
|
You could, of course.
I'm not sure exactly what your question is.
|
|
|
04-13-2008, 09:48 AM
|
#4
|
|
Constant Bitrate
Join Date: Aug 2003
Location: Iowa
Posts: 167
|
My question was if I could use a FET in place of a relay. I'm relatively sure it will work, just thought I'd run it by you guys to confirm.
-Lance
|
|
|
04-13-2008, 09:56 AM
|
#5
|
|
Fusion Brain Creator
Join Date: Mar 2005
Posts: 2,197
|
yes, it shouldn't be a problem
|
|
|
04-13-2008, 12:28 PM
|
#6
|
|
Fusion Brain Creator
Join Date: Mar 2005
Posts: 2,197
|
Also: could you post a video/writeup on what you did? It sounds really cool.
|
|
|
05-06-2008, 12:51 AM
|
#7
|
|
Constant Bitrate
Join Date: Aug 2003
Location: Iowa
Posts: 167
|
I'm working on putting together some details on what's going on here - will probably post it in the 'show off your project' section of the site. Still working on getting some video of the system in action.
Still haven't tried the mosfets. We found that it's actually preferable to use the relays while the system is in development, as it allows the operator to hear that the system is working, as well as how active it is. Here's a picture of what we're doing:
The computer is steering the tractor along a straight line, the operator turns around at the end, and the computer steers again. We end up with straight passes that are all equally spaced.
-Lance
|
|
|
05-06-2008, 06:39 AM
|
#8
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Wow this is cool..... pretty soon Im sure someone will come up with a solution to drive a car on the streets on its own via GPS.
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-07-2008, 06:07 AM
|
#9
|
|
FLAC
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,283
|
Quote: Originally Posted by HiJackZX1 
Wow this is cool..... pretty soon Im sure someone will come up with a solution to drive a car on the streets on its own via GPS.
What a scary thought.. At least this is way out in the open.
So, did you just happen to have a guide-a-tractor-by-gps program sitting around, waiting to be taken to the next step? That's the part that intrigues me the most. It's pretty impressive, what you did right thar.
|
|
|
05-07-2008, 09:17 AM
|
#11
|
|
Constant Bitrate
Join Date: Aug 2003
Location: Iowa
Posts: 167
|
H3rk, I built the software from the ground up.
Bes, I have been thinking about getting a couple of those to test. The load is a coil on a hydraulic valve, and it was creating a voltage drop/spike that the FB didn't like. Moved the FB to a different power source, and it has behaved normally ever since. I'm also seeing some odd behavior from my GPS antenna, which I suspect is also being caused from the voltage drops/spikes. I'm going to change where they are powered from to isolate that spike, which means a mosfet won't work for me any more. For right now, I like the sound of the relays to know what they are doing, but ultimately I need something more resilient, and a solid state relay looks to be a good option.
-Lance
|
|
|
05-07-2008, 11:24 AM
|
#12
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Quote: Originally Posted by bes51659 
Solid state relays have issues, they can easily send signals back up the wrong way causing more headache of problems. Solid states are good for HDD, but when it comes to solid state switches, i would stay away. If you google the issues Solid State Relays have you would get a whole list of issues.
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
05-07-2008, 11:43 AM
|
#13
|
|
Newbie
Join Date: Feb 2008
Location: Edmonton, AB
Posts: 5
|
Quote: Originally Posted by bes51659 
If you go with solid state - look for ones that are built using opto-isolators or just look at using an opto-isolator directly...
http://en.wikipedia.org/wiki/Opto-isolator
and
http://homepages.which.net/~paul.hil...rol/Optos.html
These are likely the solution I'll be using in my setup.. Absolutely no chance of power leaking across the gate as there is no physical connection for it to happen to.
Brilliant idea for running a tractor BTW.. I should show your idea to my aunt.. Maybe she'll let me pimp out her tractor too!
__________________
Jason
'02 Mazda Protege5
'92 Jetta IDI
No carputer yet - but its in the planning!
Last edited by sandmanx5; 05-07-2008 at 11:47 AM.
|
|
|
05-07-2008, 11:43 PM
|
#14
|
|
Constant Bitrate
Join Date: Jan 2008
Location: Texas
Posts: 151
|
Quote: Originally Posted by h3rk 
What a scary thought.. At least this is way out in the open.
"SCARY" you obviously haven't driven through Houston lately! I think I'd prefer to know a computer was in charge of things than some of the idiots around here!
|
|
|
05-08-2008, 10:18 PM
|
#15
|
|
Constant Bitrate
Join Date: Jun 2006
Location: Chicago, IL
Posts: 143
|
WOW1 Man!
I work for a company that makes all kinds of relays.... I'm going to spread the word how these are used....
Solid state relays will do the job, these can handle up to 125 Amps...
__________________
EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
Lilliput 8", Pharos i360, WUSB11v2.6 WiFi
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:03 PM.
| |