|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
nsfw
|
Post subject: DIY exhaust AVCS controller? Posted: Tue Nov 18, 2014 5:07 am |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
Edit: I got it working! Still needs polishing and tuning, but it basically works. The code, plus some 3D models and schematics, is all on github: https://github.com/LegacyNsfw/AvcsController-- Hi everybody, long time no see.  My oil consumption skyrocketed over the last coupe months, so it's time for me to do a motor build. My car currently has a single-AVCS motor (like every 05 Legacy GT) and I'm thinking about getting a dual-AVCS motor put in. Of course that would require something to control the exhaust cam timing, so I'm wondering if it would be practical to build an exhaust-AVCS controller around an Arduino or Atmel AVR or similar small microcontroller. If I end up trying this, whatever I come up with will be totally open-source, GPL v2, same as the LC/FFS and SD stuff that I worked on earlier. I have no worries about the software part of this project - if there's a roadblock here it would be in the hardware to interface the AVCS sensors and actuators with the microcontroller. For that, I could use some help. Does anyone know where I can find some info about the signals from the exhaust cam angle sensors, and the signals to the oil control valves? Thanks!
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Wed Nov 19, 2014 3:05 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 5:46 pm Posts: 863
|
Hey! Good to see you back! Definitely check the factory service manual for one of the newer motors. ECU pinout pages and mechanism/function pages may have some info about signal patterns. I don't have a DAVCS FSM but I suppose it wouldn't be very different from the intake setup. This could get pretty complicated  Either all of the syncing and angle calculation needs to be duplicated in the microcontroller (are they fast enough?), or another sensor input to the ecu needs to be found, and intake avcs angle calculation algorithm needs to be duplicated in the ecu. From there all you need to do is emulate the exhaust avcs control loop. Perhaps the effort would be better spent getting FreeEMS working?
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
Sasha_A80
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Wed Nov 19, 2014 7:41 am |
|
 |
| Senior Member |
Joined: Mon Jan 19, 2009 6:31 pm Posts: 1615 Location: Moscow, Russia
|
|
I would recommend to use JDM LGT ecu MY03/05 or MY06/08, a version that fits your wiring. Both of them have Dual AVCS from factory.
And spend your skill and effords for new usefull developments. I personnaly can't wait a logger for Android...
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Wed Nov 19, 2014 4:38 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
| Top |
|
 |
|
Sasha_A80
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Wed Nov 19, 2014 8:24 pm |
|
 |
| Senior Member |
Joined: Mon Jan 19, 2009 6:31 pm Posts: 1615 Location: Moscow, Russia
|
dschultz wrote: Sasha_A80 wrote: I personnaly can't wait a logger for Android... Check out http://www.btssm.com/?page=infoNSFW promises an open source or at least free software. The first approach allows the code to be customized if needed. As related to btssm I am currently looking for the logger applicable for Joe Sixpack and plain Jane. They need diagnostics badly and are not going to analize the logs themselves. BTSSM hardware plus software cost is currently looking overpriced for them.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Wed Nov 19, 2014 9:05 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
Sasha_A80 wrote: NSFW promises an open source or at least free software. The first approach allows the code to be customized if needed.
As related to btssm I am currently looking for the logger applicable for Joe Sixpack and plain Jane. They need diagnostics badly and are not going to analize the logs themselves. BTSSM hardware plus software cost is currently looking overpriced for them. Of course open source would be the most desirable. I was just pointing out that a solution is available since no open source option exists yet.
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Fri Nov 21, 2014 8:49 am |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
|
I had not thought of the factory service manual but that's a good idea, I'll try that.
Anything Android-related would have to wait for me to get my car back on the road first.
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
Sasha_A80
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Fri Nov 21, 2014 2:09 pm |
|
 |
| Senior Member |
Joined: Mon Jan 19, 2009 6:31 pm Posts: 1615 Location: Moscow, Russia
|
NSFW wrote: Anything Android-related would have to wait for me to get my car back on the road first. Is it high time to help you with JDM ecu conversion ?
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Tue Nov 25, 2014 8:38 am |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
|
The most likely thing is just getting another single-AVCS motor, but I haven't ruled out a JDM ECU or a custom AVCS controller.
Apparently the exhaust cams use reluctance sensors, and the actuators are PWM at 300hz, so a custom controller might not be too hard to build.
My biggest worry about the JDM ECU approach is that I'd need to do a lot of connector wiring to make it work - do you know if the connectors are compatible, other than added or removed features like the exhaust AVCS?
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
Sasha_A80
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Tue Nov 25, 2014 10:57 am |
|
 |
| Senior Member |
Joined: Mon Jan 19, 2009 6:31 pm Posts: 1615 Location: Moscow, Russia
|
|
What ecu version are you running? Do you have an applicable wiring diagram? I have those for JDM ecu 512kB ( sti04 ) and 1024 kB ( sti05 ).
|
|
| Top |
|
 |
|
klys
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Wed Mar 25, 2015 3:15 am |
|
 |
| RomRaider Donator |
Joined: Wed Dec 14, 2011 1:05 am Posts: 31 Location: Terrebonne, Qc
|
Hi, so as stated here: http://www.romraider.com/forum/viewtopic.php?f=15&t=11570My 05 OBXT now has a dual avcs engine. I do beleive I'm having issues because exhaust avcs is always fully retarded... Could a tgv output be used to control the exhaust avcs??? Thanks
_________________ 1989 Skyline GTS-T 2004 Impreza WRX 2005 Outback XT
|
|
| Top |
|
 |
|
jlangholzj
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Fri Mar 27, 2015 6:20 pm |
|
 |
| Experienced |
 |
Joined: Mon Jul 21, 2014 2:44 pm Posts: 103
|
|
Here's another guy coming out of the woodwork too :p Just a good few months late though!
Any progress on this so far? In any event, you should be able to use the TGV outputs to drive the AVCS mov's instead of the micro option. The standard 'duino isn't going to have a high enough clock speed to get you where you want I'm afraid. Plus (as already stated) you'll have to re-sync the whole bugger and that compounds the issue. Back to the TGV option though. Depending on the driver type that's used on that ouput, you could either directly use the TGV driver in the ECU OR wire it into a MOSFET switch to modulate the AVCS mov. I don't *think* you'll need a half-bridge driver...and just a single 'fet should work, but I haven't looked into anything yet.
_________________ All my advice is worth what you paid for it, take it for what its worth.
MoTec Master Scoobie Newbie
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Tue Jun 09, 2015 8:51 am |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
|
Sorry for the slow response on this. I haven't done anything with this idea, but I haven't replaced my motor yet either.
Using the TGV inputs for this would be challenging because they're intended to measure a voltage and we'd really need the to measure the elapsed time between the crank position sensor and the cam position sensor (if I understand the way the sensors work...). There might be a way to use a simple circuit to turn that timing information into a voltage that the ECU could easily measure, but I don't know enough about electronics to design that circuit.
And then the TGV output would need to be reconfigured to generate a PWM signal instead of (I think) a stepper motor control signals.
I think it would be less work to create a standalone device that measures the pulse timing and generates the PWM signal, perhaps coupled with a boost pressure sensor. Designing that from scratch around a simple microcontroller (Atmel, maybe Arduino) seems like less work than interfacing with the ECU and changing the way the ECU uses those sensors and actuators.
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
mondtster
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Sat Jun 27, 2015 4:24 am |
|
 |
| Newbie |
Joined: Wed Apr 16, 2008 5:43 pm Posts: 7
|
|
At least for the Legacys, using the JDM ECU is the easiest option. All you need to add is the wiring for the exhaust cam sensors and the solenoids.
FWIW, this is what I'm running in my '06 Legacy GT. The swap was a piece of cake.
|
|
| Top |
|
 |
|
nitros
|
Post subject: Re: DIY exhaust AVCS controller? Posted: Mon Jul 13, 2015 4:38 am |
|
 |
| Newbie |
Joined: Sun Sep 18, 2011 3:20 am Posts: 51
|
|
As NSFW knows already, I'm looking into developing this using a arduino. It should be entirely doable. I'll keep this thread updated as i make progress.
_________________ RomRaider IRC Chat: http://webchat.freenode.net/?channels=romraider
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 4 guests |
|
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
|
|