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)

Calum 07-09-2013 10:07 PM

Quote:

Originally Posted by mid_life_crisis (Post 1056909)
There was a good reason for wanting to know the motor speed but I can't remember it right now. Sucks getting old. It'll come back to me eventually though.

Motor overspeed maybe? Or perhaps compressor surge?

jamesm 07-09-2013 10:21 PM

Quote:

Originally Posted by Calum (Post 1056921)
Tuning gain is great, but a system like this would require the ability to correct offset as well. Otherwise the system could settle out at the wrong boost pressure and as long as the error signal (feedback compared to setpoint) is steady then the system wouldn't correct for it.

I've calibrated and rebuilt more then my fair share of pneumatic controllers that can do this, but I have no idea how to do it in the digital world. Basically for this to work well a controller that can do both proportional and integral adjustment is what to look for. A full PID wouldn't be required though, I don't think.

Or am I an idiot and that's already in the code above?

Also, I really think we need to get past the idea of boosting to the back of a partially closed throttle. That's inefficient and with a setup like this shouldn't be required. If BRZ edit could be used to remap the throttle plate vs. pedal maps, then you could just set WOT to something lower in the pedals travel range then 100% and then use the rest of the pedal's travel to increase boost pressure to a max.

The code above, as over-simplified as it is, will not settle outside of the target unless the target is unreachable due to a hardware limitation. It's pretty simple, basically says "keep increasing motor speed by x until map == target boost, them quit, if map >= target boost, reduce motor speed by x". Rinse and repeat. Again very simplified and not representative of a full implementation, but that's the idea, and it works well enough to control head speed to within 1 or 2 rpm @ 3k rpm.

Certainly there are improvements to be made, just advocating the general idea of using a boost target and a feedback loop.

neutron256 07-09-2013 10:32 PM

Ahhaha programming drives me nuts. I've never had a knack for it. I'll stick with the hardware/electronics side of things. :)

mid_life_crisis 07-09-2013 10:38 PM

Quote:

Originally Posted by Calum (Post 1056921)

Also, I really think we need to get past the idea of boosting to the back of a partially closed throttle. That's inefficient and with a setup like this shouldn't be required. If BRZ edit could be used to remap the throttle plate vs. pedal maps, then you could just set WOT to something lower in the pedals travel range then 100% and then use the rest of the pedal's travel to increase boost pressure to a max.

I'm still of the notion that I don't want to have to reprogram the car's ecu. With a 3-d table we can set the boost at low rpms and partial throttle positions to levels that won't trip a code.

jamesm 07-09-2013 10:38 PM

Quote:

Originally Posted by neutron256 (Post 1057009)
Ahhaha programming drives me nuts. I've never had a knack for it. I'll stick with the hardware/electronics side of things. :)

Please do, we need that even more :)

jamesm 07-09-2013 10:44 PM

Quote:

Originally Posted by mid_life_crisis (Post 1057037)
I'm still of the notion that I don't want to have to reprogram the car's ecu. With a 3-d table we can set the boost at low rpms and partial throttle positions to levels that won't trip a code.

Yep. You could have any boost at any combination of rpm and throttle position, within the limits of the system. You could set it up any way you like, and alter it as needed when you upgrade in the future. It's a pretty exciting idea really.

DAEMANO 07-09-2013 10:48 PM

Quote:

Originally Posted by mid_life_crisis (Post 1057037)
I'm still of the notion that I don't want to have to reprogram the car's ecu. With a 3-d table we can set the boost at low rpms and partial throttle positions to levels that won't trip a code.

Unichip?

mid_life_crisis 07-09-2013 10:57 PM

Quote:

Originally Posted by DAEMANO (Post 1057067)
Unichip?

The idea here is to have a kit that requires no additional purchases that we can just hook up and have it work. You buy a list of parts and put it together. We would make available the code with instructions on how to load it. I bet there would be members who would build them for a small price for those who either can't or don't want to.

DAEMANO 07-09-2013 11:00 PM

Quote:

Originally Posted by mid_life_crisis (Post 1057090)
The idea here is to have a kit that requires no additional purchases that we can just hook up and have it work.

:thumbsup:

neutron256 07-09-2013 11:03 PM

Quote:

Originally Posted by jamesm (Post 1057039)
Please do, we need that even more :)

That's easy. I expect I'll have the hardware prototype ready to test in a couple weeks depending on my free time and motivation.

Quote:

Originally Posted by DAEMANO (Post 1057067)
Unichip?

I'm currently running Unichip and I think this is a great idea. It supports this type of mapping, it's already getting the most of the data needed, and could probably directly output a control signal to the motor controller.

If I recall correctly its $200 for the tunner software/hardware. Not bad if I knew for sure I could get it to work.

mid_life_crisis 07-09-2013 11:11 PM

So now I have to look up Unichip and learn about those so I can participate in those discussions. sigh...

jamesm 07-09-2013 11:41 PM

Quote:

Originally Posted by neutron256 (Post 1057110)
That's easy. I expect I'll have the hardware prototype ready to test in a couple weeks depending on my free time and motivation.



I'm currently running Unichip and I think this is a great idea. It supports this type of mapping, it's already getting the most of the data needed, and could probably directly output a control signal to the motor controller.

If I recall correctly its $200 for the tunner software/hardware. Not bad if I knew for sure I could get it to work.

the problem is that it is proprietary. it would be great if it could be controlled by as many engine management systems as possible, but you wouldn't want to require it.

Toma 07-10-2013 02:02 AM

Quote:

Originally Posted by jamesm (Post 1057192)
the problem is that it is proprietary. it would be great if it could be controlled by as many engine management systems as possible, but you wouldn't want to require it.

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.

ft_sjo 07-10-2013 02:45 AM

Is this more of a programming exercise than an automotive engineering one?


All times are GMT -4. The time now is 05:37 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.