:::RHMT::: Real Home Made Turbo

Please login or register.

Login with username, password and session length
Advanced search  

News:

RHMT DIY Hub Dyno?!?!? check it. (link)

Pages: [1] 2   Go Down

Author Topic: Electronic Boost Controllers  (Read 17205 times)

carkrazed

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 3422
  • RHMT
Electronic Boost Controllers
« on: October 27, 2012, 12:23:57 AM »

Looking for one. Anyone have any suggestions?

I have an aem tru-boost but it fucking sucks.

Was looking at the turbosmart shit.
Logged

highroller54

  • I caught the fable Novacorn
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 10830
  • Spreading the rhmt word like PB&J
Re: Electronic Boost Controllers
« Reply #1 on: October 27, 2012, 01:00:32 AM »

I was looking for one also but they dont come cheap, I gave up and went with a manual in my beater.
Logged
Xenocron is a piece of shit.

I solve my problems like an adult, at the strip club drinking on a work night. http://www.competitiondiesel.com/forums/images/smilies/turbo1.gif

ratcityrex

  • I Get Blown Daily
  • Global Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 7374
Re: Electronic Boost Controllers
« Reply #2 on: October 27, 2012, 01:10:33 AM »

For a manual boost controller I rock the good old Kolbalt air compressor regulator. The one that comes with the gause. And then I use the gauge for my fuel pressure on top of my filter. All that for under $30


I was going to run a mac valve for a manual boost controller. I know there is a lot of people running them with great success. But you need to have something to run it. I was going to use ectune to control it. Im sure you could use ms to control it.
Logged
New setup is old bottom end with a hype r head with gsr cams. built lsv with hx35 @ 26psi on pump gas
LEED tuned! 434hp/329tq http://www.youtube.com/watch?v=_pbDXZxZdZs
http://www.realhomemadeturbo.com/forum/index.php/topic,16195.0.html

Old Setup B18a1 296hp/289tq LEED Tuned 20psi on pump! http://www.youtube.com/watch?v=2Yj-Z90j4W4   
http://www.realhomemadeturbo.com/forum/index.php/topic,205.msg2437.html#msg2437

92CXyD

  • Twincharged Smeghead
  • Global Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 6789
  • I look around and all I see is Smegheads
Re: Electronic Boost Controllers
« Reply #3 on: October 27, 2012, 11:40:38 AM »

For a manual boost controller I rock the good old Kolbalt air compressor regulator. The one that comes with the gause. And then I use the gauge for my fuel pressure on top of my filter. All that for under $30

Do you need an adapter for the gauge to fuel filter?

Is there a comparable compressor regulator out there? Or where do you get the Kobalt version?



 

ratcityrex

  • I Get Blown Daily
  • Global Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 7374
Re: Electronic Boost Controllers
« Reply #4 on: October 27, 2012, 11:58:24 AM »

Yes I needed the adapter I got online for $10, and the regulator I got at Lowe's
Logged
New setup is old bottom end with a hype r head with gsr cams. built lsv with hx35 @ 26psi on pump gas
LEED tuned! 434hp/329tq http://www.youtube.com/watch?v=_pbDXZxZdZs
http://www.realhomemadeturbo.com/forum/index.php/topic,16195.0.html

Old Setup B18a1 296hp/289tq LEED Tuned 20psi on pump! http://www.youtube.com/watch?v=2Yj-Z90j4W4   
http://www.realhomemadeturbo.com/forum/index.php/topic,205.msg2437.html#msg2437

highroller54

  • I caught the fable Novacorn
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 10830
  • Spreading the rhmt word like PB&J
Re: Electronic Boost Controllers
« Reply #5 on: October 28, 2012, 12:14:12 AM »

I used a old stock smc (made in china now) 1/4 npt regulator off your advice, works ok, changes a bit with weather though. I always hit boost cut when its cold, the cobalt might be a touch more acurate.
Logged
Xenocron is a piece of shit.

I solve my problems like an adult, at the strip club drinking on a work night. http://www.competitiondiesel.com/forums/images/smilies/turbo1.gif

carkrazed

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 3422
  • RHMT
Re: Electronic Boost Controllers
« Reply #6 on: October 28, 2012, 01:16:47 AM »

I don't think I could ever go back to a mbc after using an ebc. Being able to set the gate crack pressure is the shit. Very noticeable difference in spool.

My AEM works good except that the gate opens and closes under full boost with a fluctuation of like 4 lbs. Wonder if it just needs a new solenoid? Its done it ever since I bought it but it was used so idk.
Logged

highroller54

  • I caught the fable Novacorn
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 10830
  • Spreading the rhmt word like PB&J
Re: Electronic Boost Controllers
« Reply #7 on: October 28, 2012, 11:28:12 AM »

I have never heard anyone say the aem works well. Not sure what they do wrong but everyone hates them.
Logged
Xenocron is a piece of shit.

I solve my problems like an adult, at the strip club drinking on a work night. http://www.competitiondiesel.com/forums/images/smilies/turbo1.gif

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #8 on: November 08, 2012, 03:09:56 PM »

I posted this on another forum and got no responses. Maybe you guys can make some use of this!

 

I have been messing around with building my own EBC now that MAC valves are becoming very cheap. I am in brainstorming and design phase of this project but I thought it would be cool to share what I have so far. I do not have too much time invested in this so do not be shocked if this is rough so far.

Found a hardware diagram that will work PERFECT for this project. I have already simulated this circuit and tested it for feasibility with standard MAC solenoids used (AEM, Hondata, Neptune, eCtune, ect) and it looks good.



Hardware needed would be the driver circuit above, arduino, solenoid, potentiometer and to do something about voltages. No biggie.

Here is the code I busted out really quick. This is not tested so be surprised if it does not work!

Code: [Select]
// DSMR Boost controller concept code

void setPwmFrequency(int pin, int divisor) {
  byte mode;
  if(pin == 5 || pin == 6 || pin == 9 || pin == 10) {
    switch(divisor) {
    case 1:
      mode = 0x01;
      break;
    case 8:
      mode = 0x02;
      break;
    case 64:
      mode = 0x03;
      break;
    case 256:
      mode = 0x04;
      break;
    case 1024:
      mode = 0x05;
      break;
    default:
      return;
    }
    if(pin == 5 || pin == 6) {
      TCCR0B = TCCR0B & 0b11111000 | mode;
    }
    else {
      TCCR1B = TCCR1B & 0b11111000 | mode;
    }
  }
  else if(pin == 3 || pin == 11) {
    switch(divisor) {
    case 1:
      mode = 0x01;
      break;
    case 8:
      mode = 0x02;
      break;
    case 32:
      mode = 0x03;
      break;
    case 64:
      mode = 0x04;
      break;
    case 128:
      mode = 0x05;
      break;
    case 256:
      mode = 0x06;
      break;
    case 1024:
      mode = 0x7;
      break;
    default:
      return;
    }
    TCCR2B = TCCR2B & 0b11111000 | mode;
  }
}
long previousMillis = 0;
long interval = 1;
void setup() {
  setPwmFrequency(10, 1024);
}


void loop() {
  unsigned long currentMillis = millis();
  if(currentMillis - previousMillis > interval) {
    previousMillis = currentMillis;
    int DC = analogRead(0);
    DC = map(DC, 0, 1023, 0, 100);
    analogWrite(10, DC);

  }
}

I will update this later on if I get a chance to work on it. Code is kind of tricky and requires some massaging of a few timers. I calculate it to be at ~31hz but will check with an O-scope to verify.

What is next: All I need to do is program a board with this code and check it with an o scope. I will use the potentiometer to change duty cycle. 

Once that is checked and works like it should, I will build the high side of the circuit and check to see if it makes some clicky clack on the solenoid while I check all voltages with o-scope and multimeters. 

If all of that works it will be tested with shop air for a proof of concept. If that works all that is left is packaging. Its that easy.

For the over achievers, this would be a perfect foundation for someone to make a fancy boost controller that uses some PID trickery to home in on a selected boost pressure. MAP sensors are cheap cheap cheap! I won't be doing any of that. The only reason I am making this is because I am lazy and am tired of getting out of the car to tweak manual boost controllers on cars that I tune (and its cold outside).
Logged

Minor Threat

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 2401
Re: Electronic Boost Controllers
« Reply #9 on: November 08, 2012, 09:32:36 PM »

If you don't have a PID loop, all you've really got is a fancy MBC that will hold the gate closed longer. PID control/boost targeting is what makes a good EBC shine over an MBC.
Logged
"quotquotand the welds look like a pigeon had 1 too many chili-dogs, whoever built them needs to go throw their tools in the ocean."quotquot

www.facebook.com/enhancedautoperformance

HiProfile

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 4564
  • Injector Kingpin
Re: Electronic Boost Controllers
« Reply #10 on: November 09, 2012, 01:43:02 AM »

It would be very simple to have it read a MAP and adjust boost. Program it to activate at 1psi (~2.9 volts on a stock honda), hold shut til 6psi (~4 volts), then do a constant sample input voltage & adjust PWM. One dial would be faster spool ("gain" iirc), the other for max boost. Mine would be labeled min & NOG setting. Spool dial would just select a percentage of voltage between 1psi's voltage and max boost voltage.

This could be done with $5 in Picaxe components and a couple dozen lines of code. With a larger or 2nd chip you could probably interpret the VSS and RPM to make it boost-by-gear too. Or with 3 magnetic reed switches and a magnet on the shift lever.


BTW with a small mosfet, you wouldn't need a heat sink. I have one that deals with 4+ amps driving injectors, and it doesn't even get warm.
« Last Edit: November 09, 2012, 01:44:43 AM by HiProfile »
Logged
they mspainted dildoes in my mom'#039#039s hand, in a picture of her in a hospital bed. -JD
dem gurls need some boobz! -Engloid

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #11 on: November 09, 2012, 02:44:13 AM »

If you don't have a PID loop, all you've really got is a fancy MBC that will hold the gate closed longer. PID control/boost targeting is what makes a good EBC shine over an MBC.

Adding closed loop control is trivial. I am laying down the foundation for someone to home brew something for cheap if they desire. I could easily add this later but I really want to use it for tuning the shit boxes I deal with on a daily basis. They all come in with ebay manual boost controllers that do not work. I am building a dyno rig that will hook up to their car fast and make fast adjustments and let the customer deal with setting the desired boost.
Logged

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #12 on: November 09, 2012, 02:54:23 AM »

It would be very simple to have it read a MAP and adjust boost. Program it to activate at 1psi (~2.9 volts on a stock honda), hold shut til 6psi (~4 volts), then do a constant sample input voltage & adjust PWM. One dial would be faster spool ("gain" iirc), the other for max boost. Mine would be labeled min & NOG setting. Spool dial would just select a percentage of voltage between 1psi's voltage and max boost voltage.

This could be done with $5 in Picaxe components and a couple dozen lines of code. With a larger or 2nd chip you could probably interpret the VSS and RPM to make it boost-by-gear too. Or with 3 magnetic reed switches and a magnet on the shift lever.


BTW with a small mosfet, you wouldn't need a heat sink. I have one that deals with 4+ amps driving injectors, and it doesn't even get warm.

Thank you for the input! Good idea on integrating a "gain" setting. I was thinking of that also. If I were to make this "polished" and fancy I was thinking of doing a LCD for target boost with some other nobs for gain or other PID type parameters.

I chose Arduino because I am comfortable with it and I have several boards laying around. This can be done on any controller with coding. Arduino is also noob friendly with coding so it is good for the DIY crowd. You can easily burn the chips with the dev board and do a stand alone.

Thanks for the tip about the mosfet. I found that diagram searching online and simulated to check it against my project. It is overkill (I calculate a bit over 0.5 amps sunk from the solenoid) but I will test the hardware soon.

If anyone else wants to expand on what I have feel free. I have calculated the cost of what I am wanting to build at under $45. Add a few more dollars and you could add the map sensor and other goodies easily.
Logged

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #13 on: November 10, 2012, 05:28:09 PM »

Made some progress!



That is really the hard part of getting this to work. The foundation is laid. Next step is to add the potentiometer and get it to control the PWM.

Here is the code:

Code: [Select]
//DSMR boost controller test code 11/10/2012

void setup() {

  int ClearREG = 7;
  TCCR4B &= ~ClearREG;

  int myPrescaler = 5;         
  TCCR4B |= myPrescaler;
}

void loop() {
  analogWrite(7, 128);

}

This is for a Arduino Mega 2560. It can be adapted to an uno if needed. I am integrating the potentiometer next!
Logged

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #14 on: November 10, 2012, 08:17:22 PM »

I got a bit further with this. I have integrated my potentiometer code with the PWM code. Now I can adjust duty cycle with a knob. Here is the vid:

Arduino Boost Controller

Here is the code:

Code: [Select]
long previousMillis = 0;
long interval = 1;

void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
  int ClearREG = 7;
  TCCR4B &= ~ClearREG;
 
  int myPrescaler = 5;
  TCCR4B |= myPrescaler;

long previousMillis = 0;
long interval = 1;
}
void loop() {
 
   unsigned long currentMillis = millis();
  if(currentMillis - previousMillis > interval) {
    previousMillis = currentMillis;
    int DC = analogRead(A0);
    DC = map(DC, 0, 1023, 0, 255);
    analogWrite(7, DC);

 
 
  Serial.println(DC);
 
  }
}

The only thing left is to incorporate a control circuit and make some noises with the solenoid. After that it is packaging and finished project. Easy peasy.
Logged

highroller54

  • I caught the fable Novacorn
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 10830
  • Spreading the rhmt word like PB&J
Re: Electronic Boost Controllers
« Reply #15 on: November 11, 2012, 11:38:57 AM »

who was it on here years ago that went into designing and building a ebc? Did it ever work?
Logged
Xenocron is a piece of shit.

I solve my problems like an adult, at the strip club drinking on a work night. http://www.competitiondiesel.com/forums/images/smilies/turbo1.gif

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #16 on: November 11, 2012, 12:24:33 PM »

No love for a RHMT boost controller? My post count is not high enough or something? Anyone want a programmable EBC at  :Jew: prices?
Logged

rawr

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 1603
Re: Electronic Boost Controllers
« Reply #17 on: November 11, 2012, 03:49:11 PM »

whats the rise and fall time on that squarewave? Shit looks better than most function generators, but it could be the time setting on your scope.
Logged

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #18 on: November 13, 2012, 02:54:33 AM »

whats the rise and fall time on that squarewave? Shit looks better than most function generators, but it could be the time setting on your scope.

Rise time is really small. At 200ns/division it is 48ns.



Looks like a nasty ring up there! Its not really that bad for this application though. The base resistor eliminates this ring.
« Last Edit: November 13, 2012, 03:07:40 AM by DSMR »
Logged

Tim

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 2632
Re: Electronic Boost Controllers
« Reply #19 on: November 13, 2012, 08:03:57 AM »

Good project. Kind of want to build one just to build one.
Logged

jdmhatchracer94

  • I have a nova that will never run!!
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 2264
  • Official RHMT Nigglet!
Re: Electronic Boost Controllers
« Reply #20 on: November 14, 2012, 01:56:42 AM »

if I knew how i would build this. integrate bbg and hook a nog up.
Logged
4 door eg nbspnbsp 13.2@118 someone needs to run slicks
338hp 293tq

Good enough to fuck your mother

carkrazed

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 3422
  • RHMT
Re: Electronic Boost Controllers
« Reply #21 on: November 16, 2012, 11:33:37 PM »

Badass!!

Ive thought about using an arduino to run a mac valve on several occassions. Just never had the time.

Nice work man.
Logged

rawr

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 1603
Re: Electronic Boost Controllers
« Reply #22 on: November 17, 2012, 08:10:40 AM »

Rise time is still really good and even the rings not that bad. Better than I expected from an arduino.
Logged

Joseph Davis

  • Verbal Assault Technician
  • Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Electronic Boost Controllers
« Reply #23 on: November 21, 2012, 08:30:54 AM »

What the fuck?  Make your own thread for this.  Also, conside having multi-dimension adjustment.... the ability to drop boost if EGT goes too high or O2 lean.

PhilStubbs

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 5885
  • Teh Secksy.....I has it
Re: Electronic Boost Controllers
« Reply #24 on: November 21, 2012, 09:20:59 AM »

I like this thread. I would like it even more if I didn't use a valve and Neptune for my boost control.
Logged
obd1>gtgtall

 fucking box started smoking and i saw a flame start up so i grabbed a bucket of water and splashed it on the breaker box.

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #25 on: November 21, 2012, 01:32:51 PM »

Thanks for the kind words.

Since I have gotten a good response with this, I am going to implement stage 2 of development which is a closed loop control system. I just got my power supply from the house which will replicate a map sensor voltage that I can shift and test responses.

I will also incorporate a quick spool function into this (Very easy to incorporate) 

JD, Way ahead of you on dropping boost based on input. Already got the code for that figured out in my head.

BBG is a no go because there are too many different vehicles out there. I could integrate boost vs speed with a gps module if enough people were interested.

I guess I will start up a new thread with my new findings when I get a chance. Please keep the ideas flowing so we can have the best DIY RHMT  :Jew: EBC!   

If anyone wants to build this, I say go ahead and do it! I tested it and it works!
Logged

Joseph Davis

  • Verbal Assault Technician
  • Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Electronic Boost Controllers
« Reply #26 on: November 21, 2012, 07:02:23 PM »

Easier to offer an 05+ CANbus only OBD2 plug in, IMO.  Earlier scan speeds on critical PIDs suck on some vehicles without bribing the OEM for internal highspeed loggin protocols. Anyway, CANbus; set up an N/V gear judge and also be able to select safety trip points based on internal calculated parameters like inferred exhaust flange/O2 tip/catalyst temps, exceed programmed MAF limits, etc.

DSMR

  • Jr. Member
  • **
  • Offline Offline
  • Posts: 72
  • RHMT
Re: Electronic Boost Controllers
« Reply #27 on: November 22, 2012, 02:33:52 AM »

Easier to offer an 05+ CANbus only OBD2 plug in, IMO.  Earlier scan speeds on critical PIDs suck on some vehicles without bribing the OEM for internal highspeed loggin protocols. Anyway, CANbus; set up an N/V gear judge and also be able to select safety trip points based on internal calculated parameters like inferred exhaust flange/O2 tip/catalyst temps, exceed programmed MAF limits, etc.

Thank you for your response. I have all the hardware to fiddle with CAN bus but have not had the time to dedicate to protocols and such. You have a really good idea that I will have to look into. Are the protocols all the same for the years you mention (Ford, Chrysler, Hyundai, Nissan)? Other issues would be complexity of my rig being set up for any car. This will have to evolve to some sort of LCD that the user can program. Only issue is how complex it would be. I would rather use a droid app to program this maybe? 

I would develop your idea as maybe stage 4 of my trailer park EBC. I am finished with stage 1 so now I am at stage 2 which is getting closed loop to work correctly. Stage 3 I will need help with. It is packaging everything on a custom PCB and doing some sort of UI other than telling people to change it in the code. At that point I would need someone other than myself testing this and breaking it before it can be nog approved. 
Logged

Joseph Davis

  • Verbal Assault Technician
  • Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Electronic Boost Controllers
« Reply #28 on: November 23, 2012, 07:13:00 PM »

You might be onto something with the droid (and iPhaggot!) app - why load up the device with expensive extra hardware when everyone has a smart phone?  Bluetooth and go, let the app+phone be the interface.  Also script a simple interface for laptops with bluetooth so the tuner doesn't have to kludge around with multiple bits of gear while tuning the car.  BT modem and CANbus chip is cheaper than a screen.

Before we get in too deep - avoid providing too much support as a standalone boost controller.  If you can do it so it works great as a simple standalone EBC then it will sell as one, but don't get too deep.  There is already a huge market for this, and the competition is innovative as far as that goes.  The multi-dimensional (EGT, AFR) angle is already covered by the Plex unit, IIRC.  But tailoring yourself to the CANbus market lets you do practically all vehicles in the last eight model years correctly off of a generic API.  Tailoring your product to newer cars is the market where the money is at, and the last $50 you think you are worth isn't quibbled over if the product works as advertised.

Anyway, read up on J2534 (Drewtech's site is best) and go from there.  It's not a big deal to do most everything you need via generic PIDs.  I can possibly sniff a couple juicy enhanced PID addresses from Ford/GM/Honda/Scoob/Mitsu/other with the gear I have laying around, and if I get the EASE software I can also do Chevy, Chrysler, and probably a whole lot more.  I'm happy to help as much as possible with stage 3, but that is slightly exceeding the limits of my ability.  Happy to put you in touch with folks that would probably steer you right, or pitch a hand in, for the sake of geekery.

Joseph Davis

  • Verbal Assault Technician
  • Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Electronic Boost Controllers
« Reply #29 on: November 23, 2012, 07:14:16 PM »

Jorsher on here is your guy for phone apps.  I don't think he works free, but he might work for a percentage if you want to make a business go of it. 
Pages: [1] 2   Go Up