Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB

Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB (https://www.ft86club.com/forums/index.php)
-   Forced Induction (https://www.ft86club.com/forums/forumdisplay.php?f=78)
-   -   Open Source Electric Supercharger (https://www.ft86club.com/forums/showthread.php?t=41148)

neutron256 07-10-2013 09:53 AM

1 Attachment(s)
So as I lay awake with a bout of insomnia last night I was working out the basic control concept I wanted for my prototype. Simple is the key at this point and should be easily done with a PICaxe microcontroller, and inputs from the Throttle Position Sensor, and a MAP sensor.

Fun with flow charts!

jamesm 07-10-2013 09:56 AM

Quote:

Originally Posted by Toma (Post 1057458)
Why not a Microsquirt. Literally 200 $ and you could output one of the ignition channels or whatever and have lots of additional output or inputs for other toys.

that's a great idea. my only argument would be that, being that megasquirt isn't very useful as an FI tuning tool on these cars (wish it was, but with a subaru the stock ecu can be reflashed, rendering it unnecessary), it doesn't really serve any purpose that couldn't be accomplished much simpler and cheaper with a bespoke atmega board and some code.

i would suggest that we prototype the whole thing on an arduino then move to having bespoke boards printed. that will result in the lowest possible cost, can be completely open source (megasquirt is not, very important detail), and it will allow people with an arduino at home to wire their own circuit and use it as is.

with an open source project it is extremely important that there are no proprietary dependencies. every link in the chain must be something like GPL or MIT licensed.

mid_life_crisis 07-10-2013 10:08 AM

Quote:

Originally Posted by neutron256 (Post 1057835)
So as I lay awake with a bout of insomnia last night I was working out the basic control concept I wanted for my prototype. Simple is the key at this point and should be easily done with a PICaxe microcontroller, and inputs from the Throttle Position Sensor, and a MAP sensor.

Fun with flow charts!

The one part of this I would alter is the very last about setting the motor speed (pressure).
Cross reference throttle position and engine rpm to find boost target.
This way you have absolute control over what rpm and/or throttle position sets what boost level. The level of control is far greater.

SloS14 07-10-2013 10:10 AM

What would be wrong with having a tiny off-the-shelf arduino (or similar)?

http://dangerousprototypes.com/wp-co...duino-W490.jpg

SloS14 07-10-2013 10:11 AM

Quote:

Originally Posted by mid_life_crisis (Post 1057870)
The one part of this I would alter is the very last about setting the motor speed (pressure).
Cross reference throttle position and engine rpm to find boost target.
This way you have absolute control over what rpm and/or throttle position sets what boost level. The level of control is far greater.

With an SDCard reader, the user could load a .CSV with boost targets

neutron256 07-10-2013 10:29 AM

Quote:

Originally Posted by mid_life_crisis (Post 1057870)
The one part of this I would alter is the very last about setting the motor speed (pressure).
Cross reference throttle position and engine rpm to find boost target.
This way you have absolute control over what rpm and/or throttle position sets what boost level. The level of control is far greater.

I did consider using boost level and I think that may be a good option down the road, but for my prototype I need a more simplistic system. Since I don't even know what sort of boost it will actually produce I need something more straight forward and throttle position will give a nice liner response starting at zero, and ending at full RPM's at WOT.

neutron256 07-10-2013 10:36 AM

Quote:

Originally Posted by SloS14 (Post 1057872)
What would be wrong with having a tiny off-the-shelf arduino (or similar)?

I think arduino's are a good option and very capiable, but for my prototype it's really more then I need.

I favor the PICAxe for a few reasons:

1. I'm used to working with them
2. They use BASIC so they are stupid simple to program even for non-programmers like me.
3. They are dirt cheap. I mean like $3 cheap.

ML 07-10-2013 10:42 AM

What about power source? 24v like the Phantom, or more? I had some old industrial UPS wet cell batteries I was thinking would work, although they are heavy.

neutron256 07-10-2013 10:53 AM

Quote:

Originally Posted by ML (Post 1057944)
What about power source? 24v like the Phantom, or more? I had some old industrial UPS wet cell batteries I was thinking would work, although they are heavy.

I'm sure most people will just go with SLA's. I'm going to try Ultracapacitors both because they are excelent for this sort of high drain setup, and because I've been wanting to play around with them. The down side is they aren't cheap.

Voltage really depends on what motor you decide to use. I'm looking at around 36V but I'm still researching that side of things.

mid_life_crisis 07-10-2013 11:18 AM

Quote:

Originally Posted by neutron256 (Post 1057916)
I did consider using boost level and I think that may be a good option down the road, but for my prototype I need a more simplistic system. Since I don't even know what sort of boost it will actually produce I need something more straight forward and throttle position will give a nice liner response starting at zero, and ending at full RPM's at WOT.

I'm not sure I was clear. What I was trying to suggest is that you could monitor the engine rpm and the throttle position. Using those two values, you reference a table that provides the target boost pressure, or motor rpm if you prefer. The result is the same: you regulate your motor based off two input variables instead of one and have a far more powerful system with minimal extra effort.

jamesm 07-10-2013 11:21 AM

Quote:

Originally Posted by SloS14 (Post 1057872)
What would be wrong with having a tiny off-the-shelf arduino (or similar)?

http://dangerousprototypes.com/wp-co...duino-W490.jpg

mainly just that it costs more than it has to. you're paying for a uart-serial chip that you won't need, and a few other things. with an atmega on a bespoke board we could get the cost down below $10 probably.

jamesm 07-10-2013 11:22 AM

Quote:

Originally Posted by neutron256 (Post 1057928)
I think arduino's are a good option and very capiable, but for my prototype it's really more then I need.

I favor the PICAxe for a few reasons:

1. I'm used to working with them
2. They use BASIC so they are stupid simple to program even for non-programmers like me.
3. They are dirt cheap. I mean like $3 cheap.

i would argue against using a picaxe for the same reason you argue for it: BASIC lol.

jamesm 07-10-2013 11:25 AM

Quote:

Originally Posted by neutron256 (Post 1057835)
So as I lay awake with a bout of insomnia last night I was working out the basic control concept I wanted for my prototype. Simple is the key at this point and should be easily done with a PICaxe microcontroller, and inputs from the Throttle Position Sensor, and a MAP sensor.

Fun with flow charts!

i agree with most of that. my main point of contention would be throttling down when the system detects it has reached target. it would be best to just return early and let it loop over, no need for unnecessary motor control (one of the most computationally expensive operations in the system), and it will result in oscillation in all cases.

of course when the system is armed a simple scaling of throttle percentage to motor speed is less than ideal as well, as we're not concerned with motor speed, we're concerned with boost. it should read map, then compare to a boost target referenced from rpm and throttle position. this is a far more flexible design, imho.

solma 07-10-2013 11:30 AM

Quote:

Originally Posted by jamesm (Post 1058016)
i would argue against using a picaxe for the same reason you argue for it: BASIC lol.

Funny, would said thing for 2 option. A PIC uc program in Assembler, way more efficient and simple, but that because I am use to program in assembler, I think best is to go with what you know best.


All times are GMT -4. The time now is 05:36 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.


Garage vBulletin Plugins by Drive Thru Online, Inc.