gemellocattivo.com

Which means "Evil Twin". Lets see your projects where you change boring into fun or create the fun from scratch.
It is currently Mon Nov 19, 2018 5:52 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Sensors
PostPosted: Sun May 24, 2015 10:58 am 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 2241
I think I have the sensor stuff sorted out pretty well now.

There are only a couple basic types of sensors control wire.

Stuff that is an absolute output which means have nothing to do with the 5V ref voltage, it just is what it is. MAP is normally this way.

then stuff that is a % of the 5v ref line meaning it floats with whatever the 5V ref line is reading. TPS is like this

So I've gone though all the primary sensors and configured them and added the correct calibrations to convert the voltage reading to kPA for MAP, degreeC for temps etc.

I also added a smoothing coefficient to everything that is basically a rolling average where 0 means use the current reading, 0.999 means use only 0.001 or 0.1% of the new reading to allow just about anything to be cleaned up enough to use.

I've figure out the xxx.graphml files too.....it's a flow chart of the control logic with all names and formulas and how they link. It also highlights broken items which is nice....it caught a typo I made.

With this pretty finalize I can start building the interface layout and instructions for using it.


Attachments:
Unresolved error Capture.JPG
Unresolved error Capture.JPG [ 108.26 KiB | Viewed 2544 times ]
Baro logic Capture.JPG
Baro logic Capture.JPG [ 62.04 KiB | Viewed 2544 times ]
Top
 Profile Send private message  
 
 Post subject: Re: Sensors
PostPosted: Sun May 24, 2015 11:30 am 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 2241
Here's a qick shoot of MAP and Baro with a time graph at the bottom that show what happens to MAP voltage when I make a 1V step change on the simulator input with the smoothing at 0 on the left and .999 on the right.


Attachments:
Layout and smootingCapture.JPG
Layout and smootingCapture.JPG [ 125.32 KiB | Viewed 2542 times ]
Top
 Profile Send private message  
 
 Post subject: Re: Sensors
PostPosted: Sun May 24, 2015 7:35 pm 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 2241
I got a few more minutes to play with it....


Attachments:
sensor page.JPG
sensor page.JPG [ 176.52 KiB | Viewed 2538 times ]
Top
 Profile Send private message  
 
 Post subject: Re: Sensors
PostPosted: Sun May 24, 2015 8:24 pm 
Offline

Joined: Thu Jan 01, 2015 6:47 pm
Posts: 2241
Page to set the throttle position and pedal position stuff. I'll probably do a separate page for DBW setup when I get to that.

So that's the sensors, at least for now.


Attachments:
Throttle  page.JPG
Throttle page.JPG [ 154.92 KiB | Viewed 2537 times ]
Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group