Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain


Reply
 
Share Thread Tools Display Modes
Old 04-12-2008, 08:44 PM   #1
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
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.
mx270a is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 04-13-2008, 12:44 AM   #2
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
The output uses the ULN2003A which outputs 400mA to 500mA
2k1Toaster is offline   Reply With Quote
Old 04-13-2008, 01:27 AM   #3
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
You could, of course.

I'm not sure exactly what your question is.
greenman100 is offline   Reply With Quote
Old 04-13-2008, 09:48 AM   #4
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
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
mx270a is offline   Reply With Quote
Old 04-13-2008, 09:56 AM   #5
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
yes, it shouldn't be a problem
greenman100 is offline   Reply With Quote
Old 04-13-2008, 12:28 PM   #6
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
Also: could you post a video/writeup on what you did? It sounds really cool.
greenman100 is offline   Reply With Quote
Old 05-06-2008, 12:51 AM   #7
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
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
mx270a is offline   Reply With Quote
Old 05-06-2008, 06:39 AM   #8
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
 
HiJackZX1's Avatar
 
Join Date: Jul 2007
Location: Miami
Posts: 4,169
HiJackZX1 is just really niceHiJackZX1 is just really niceHiJackZX1 is just really niceHiJackZX1 is just really nice
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.
HiJackZX1 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-07-2008, 06:07 AM   #9
FLAC
 
Join Date: Oct 2006
Location: Las Vegas
Posts: 1,283
h3rk will become famous soon enough
Quote: Originally Posted by HiJackZX1 View Post
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.
h3rk is offline   Reply With Quote
Old 05-07-2008, 07:33 AM   #10
Maximum Bitrate
 
bes51659's Avatar
 
Join Date: Sep 2005
Location: Stockholm, Sweden
Posts: 652
bes51659 is on a distinguished road
Fastest way to goal is to buy solid state relays. And maybe safest...

Quick search: http://www.ab.com/industrialcontrols...ate_relay.html
bes51659 is offline   Reply With Quote
Old 05-07-2008, 09:17 AM   #11
Constant Bitrate
 
mx270a's Avatar
 
Join Date: Aug 2003
Location: Iowa
Posts: 167
mx270a is on a distinguished road
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
mx270a is offline   Reply With Quote
Old 05-07-2008, 11:24 AM   #12
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
 
HiJackZX1's Avatar
 
Join Date: Jul 2007
Location: Miami
Posts: 4,169
HiJackZX1 is just really niceHiJackZX1 is just really niceHiJackZX1 is just really niceHiJackZX1 is just really nice
Quote: Originally Posted by bes51659 View Post
Fastest way to goal is to buy solid state relays. And maybe safest...

Quick search: http://www.ab.com/industrialcontrols...ate_relay.html

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.
HiJackZX1 is offline   Reply With Quote
Old 05-07-2008, 11:43 AM   #13
Newbie
 
sandmanx5's Avatar
 
Join Date: Feb 2008
Location: Edmonton, AB
Posts: 5
sandmanx5 is an unknown quantity at this point
Quote: Originally Posted by bes51659 View Post
Fastest way to goal is to buy solid state relays. And maybe safest...

Quick search: http://www.ab.com/industrialcontrols...ate_relay.html

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.
sandmanx5 is offline   Reply With Quote
Old 05-07-2008, 11:43 PM   #14
Constant Bitrate
 
Join Date: Jan 2008
Location: Texas
Posts: 151
jimp is an unknown quantity at this point
Quote: Originally Posted by h3rk View Post
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!
jimp is offline   Reply With Quote
Old 05-08-2008, 10:18 PM   #15
Constant Bitrate
 
Join Date: Jun 2006
Location: Chicago, IL
Posts: 143
dupa2 is an unknown quantity at this point
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
dupa2 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PROJECT ST34LTH : Project Car Purchased w/PICS ST34LTH General Hardware Discussion 69 09-01-2008 10:09 AM
Complete Newbie Question. DomesticImport Newbie 15 07-07-2005 07:24 PM
A Start Community Project BenjaminS MacCar 9 03-25-2005 06:46 PM
Project "Ford Windstar XP" Vchat20 Show off your project 2 02-14-2005 04:47 AM
New Project: Contrast Mediaplayer pplante Software & Software Development 26 07-07-2004 12:06 PM



All times are GMT -5. The time now is 11:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics