Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 07-10-2009, 07:05 PM   #1
Newbie
 
Join Date: Aug 2008
Location: Decatur Illinois
Posts: 38
FredWorrell is an unknown quantity at this point
Excel Spreadsheet for Sensors

For those that may be interrested, I have developed an Excel spreadsheet to calculate the output of linear sensors. This is only for resistive sensors with a direct linear response. Example is a fuel level sensor, as fuel level goes up, the resistance goes up in a linear relationship. It is designed for the basic circuit, 5VDC to a fixed resister then to the sensor then to ground. You input the min and max resistance of the sensor, the min and max value the sensor will measure, (psig, or whatever) and the value of the series resister. It assumes the unit will be calibrated to read the min value at the min resistance and the the max value at the max resistance. You can then see where the output will be inaccurate. Note that unless a constant current source is used, the reading WILL be inaccurate. You really want the circuit to imitate a constant current source. To imitiate a constant current source the series resister should be as large as possible as compared to the max resistance of the sensor. I plan on using a series resister 5 times the value of the max resistance of my sensors.

You can try different resister values for your sensor and see just how the accuracy is effected. I even graphed the results.

The fields you should not mess with are locked (easly unlocked in excel). The colored cells are where you input your values. The spreadsheet has my last sensor loaded so you can see how I inputed my values. The fuel level sensor has 35 ohms with the tank empty (0%) and 240 ohms with the tank full (100%). A 1000 ohm series resister is used.

I don't know how to post the spreadsheet, so if anyone wants it just email me at f.worrell@comcast.net. The file is 18 Kb.
FredWorrell is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-11-2009, 07:38 AM   #2
Constant Bitrate
 
Join Date: Jun 2008
Location: Georgia, USA
Posts: 172
Dan2008 is an unknown quantity at this point
Try zipping it before uploading it. If you meant that you don't know the procedure for uploading, click the paperclip then "Browse" for the file and click the "Upload" button.
Attached Images
 
__________________
Thanks,

Dan
Dan2008 is offline   Reply With Quote
Old 07-11-2009, 09:28 AM   #3
Newbie
 
Join Date: Aug 2008
Location: Decatur Illinois
Posts: 38
FredWorrell is an unknown quantity at this point
Spreadsheet attached

Thanks Dan. I have never gone to the "advanced" reply section. Now you have shown me how to do it... Here is the spreadsheet zipped to 6k.
Attached Files
File Type: zip Sensor Graphing.zip (5.4 KB, 9 views)
FredWorrell is offline   Reply With Quote
Old 07-11-2009, 10:30 AM   #4
Constant Bitrate
 
Join Date: Jun 2008
Location: Georgia, USA
Posts: 172
Dan2008 is an unknown quantity at this point
Ummm...you passworded the zip file Fred.
__________________
Thanks,

Dan
Dan2008 is offline   Reply With Quote
Old 07-11-2009, 11:34 AM   #5
Newbie
 
Join Date: Aug 2008
Location: Decatur Illinois
Posts: 38
FredWorrell is an unknown quantity at this point
Excel Spreadsheet

Geeze you think I could get this right. Here is is again. Sorry!
FredWorrell is offline   Reply With Quote
Old 07-11-2009, 11:42 AM   #6
Newbie
 
Join Date: Aug 2008
Location: Decatur Illinois
Posts: 38
FredWorrell is an unknown quantity at this point
Try again

I need to go back to my Comodore 64 and start over.
Attached Files
File Type: zip Sensor Graphing.zip (4.9 KB, 20 views)
FredWorrell is offline   Reply With Quote
Old 07-11-2009, 12:17 PM   #7
Constant Bitrate
 
Join Date: Jun 2008
Location: Georgia, USA
Posts: 172
Dan2008 is an unknown quantity at this point
WooHoooo!!! Ya got it that time!

I haven't looked at it in depth but it looks good from my quick glance.
__________________
Thanks,

Dan
Dan2008 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
Need to learn Excel VBA ASAP! Suggestions, tips, advice, examples... nobb Off Topic 5 05-12-2009 03:35 PM
Excel Shortcuts not working Chaky Software & Software Development 2 02-01-2008 01:38 PM
Algebra, Excel, Statistics, and fan curves...Question. h3rk Off Topic 3 12-02-2007 11:28 PM
ProScan excel spreadsheet data reformat RacerRex Engine Management, OBD-II, Engine Diagnostics, etc. 0 04-13-2007 03:49 AM
Excel 2000 password recovery wizardPC Off Topic 2 03-07-2005 03:48 PM



All times are GMT -5. The time now is 02:03 AM.


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