|
![]() |
|
|
![]() |
|
Thread Tools | Display Modes |
![]() |
#26 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() Those graphs are great!!! Especially the last one. That's what I was looking for when I first started to contemplate this idea, but I couldn't find it myself!
I suspect there will need to be a feedback loop to control the PWM signal, based on the difference between the desired cam angle and the measured cam angle. The gains for the feedback loops might need to be varied, too. It would probably be ideal to base them on oil pressure and temperature, but RPM would probably be close enough, especially after the oil is warmed up. Are you familiar with PID loops? Edit: you're probably right about the LH intake signal being inverted in that chart. One of those is not like the others. ![]()
* Registered users of the site do not see these ads.
Last edited by NSFW; 08-04-2015 at 02:13 AM. |
![]() |
![]() |
![]() |
#27 | |
Scooby Specialist
Member#: 385256
Join Date: Mar 2014
Chapter/Region:
NESIC
Vehicle:'18 Giulia QV '21 Giulia Q4 |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#28 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() No - to minimize the error between the commanded cam angle and the actual cam angle.
I expect that the PWM DC needed to maintain a particular angle will depend on temperature and pressure of the oil. But I also think that a PID loop would probably compensate for that well enough that it wouldn't be necessary to measure those, or create (and tune) compensation tables. I also suspect that even with constant temperature and pressure, we wouldn't be able to just use a table that translates from target cam angle to duty cycle. Rather, the needed DC is probably going to be close to some fixed percentage almost all of the time, only varying based on the difference between the actual cam angle and the desired cam angle. |
![]() |
![]() |
![]() |
#29 | |
Scooby Specialist
Member#: 385256
Join Date: Mar 2014
Chapter/Region:
NESIC
Vehicle:'18 Giulia QV '21 Giulia Q4 |
![]() Quote:
Physically, arent you actually controlling oil pressure? And then cam phasing is a byproduct? http://drive2.subaru.com/Win05_WhatsInside.htm |
|
![]() |
![]() |
![]() |
#30 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() I was referring to the phase of the cam relative to the crank.
Regarding those last two questions, the big picture is sort of complicated... The software will control the duty cycle of a PWM signal, which controls an oil valve, which controls the flow of oil to the AVCS actuator in the cam pulley, which controls the angle between the pulley and the camshaft, which controls the timing of both the valves and the signal from the exhaust AVCS sensor. But the variable we control is the duty cycle, and the variable we measure is the timing of the AVCS sensor signal (relative to the crank position sensor signal), so the rest is just details. ![]() The user interface would ideally be a table with RPM on one axis, load (g/rev) on the other axis (to be consistent with the tables in the ECU), and cam phase angle in the table cells. But it would be far simpler to use manifold pressure instead of load. The first big milestone for the software would probably just hold a fixed cam angle, to prove that the sensor and actuator stuff works properly. In other news, on Wednesday I called the shop that I want to build my new motor, and they still haven't returned my call. One of my first questions will be to ask how they feel about building a dual-AVCS motor for a single-AVCS car, with exhaust control only coming much later, like after break-in. |
![]() |
![]() |
![]() |
#31 | |
Scooby Specialist
Member#: 41561
Join Date: Aug 2003
Chapter/Region:
MWSOC
Location: Chicago
Vehicle:04 GT3076 2.1 Stroker = Broken 3rd |
![]() Quote:
For your build its important to at least set to angle of the cam into the stock sti location. |
|
![]() |
![]() |
![]() |
#32 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() The shop that I wanted to build my motor isn't willing build a dual-avcs for a single-avcs car, so it looks like I'm not going to be taking part in this. I was looking forward to it, so I'm a little bummed.
Unfortunately there aren't many shops in my area that can do a build+install+tune, and I really want it all done at one shop so there's no finger-pointing if something goes wrong right after startup. |
![]() |
![]() |
![]() |
#33 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() ...so I found a different shop, and I'm getting a dual-AVCS motor after all. I'm dropping the car off tomorrow. No AVCS controller to start with, though.
Nitros, have you found a way to interface the cam sensors to the microcontroller? I find myself in a hurry all of a sudden so I'm going to need all the help I can get. ![]() |
![]() |
![]() |
![]() |
#34 |
Scooby Specialist
Member#: 41561
Join Date: Aug 2003
Chapter/Region:
MWSOC
Location: Chicago
Vehicle:04 GT3076 2.1 Stroker = Broken 3rd |
![]() I did find a interface for the cam sensors. i purchased this to help with the integration.
http://jbperf.com/dual_VR/v2_1.html |
![]() |
![]() |
![]() |
#35 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() I have a pair of those coming too. I'm guessing that the cam sensors are hall-effect though, and that will only be needed for the crank sensor. But like I said, I bought two... just in case. Also bought a dual-trace USB oscilloscope to get a close look at the signals.
Been thinking of putting an optical sensor on a cam gear (the belt side, not the cam side) instead of tapping into the crank sensor, just to make absolutely certain I don't accidentally **** up the ECU somehow. Also thinking about using the +5V line on the TGV sensor plugs as a signal to turn the AVCS controller on and off. And then run a DAC output from the controller into the TGV input (via optoisolator) so that I can log the exhaust AVCS cam position. Integrated logging, and no wires through the firewall. (I deleted my TGVs a long time ago, and also verified that you can hook a variable resistor up to the TGV sensor input and log 0-5V that way.) Also bought a Netduino, then found out the company is collapsing. The main guy there disappeared, possibly related to a failed kickstarter thing. Not really sure what's up with that. It wouldn't be so bad, but I bought a Netduino 3 and then found out that's the only version that they haven't published the firmware source code for. And I'd need custom firmware because the managed-code API doesn't have good enough resolution from the timers. So I'm looking into an Arduino now. Actually the 'mega' version, as the original version only has two 16-bit timers and this will be simpler with 3. Kinda regretting not doing more homework on this project before I committed to a dual-AVCS engine, but I'm sure it will all work out. |
![]() |
![]() |
![]() |
#36 | |
Scooby Specialist
Member#: 385256
Join Date: Mar 2014
Chapter/Region:
NESIC
Vehicle:'18 Giulia QV '21 Giulia Q4 |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#37 |
Scooby Specialist
Member#: 41561
Join Date: Aug 2003
Chapter/Region:
MWSOC
Location: Chicago
Vehicle:04 GT3076 2.1 Stroker = Broken 3rd |
![]() The signal is a VR for the exhaust cam gears. also check out my previous post that gives you some insight into implementation, specifically checkout chippernut. he's built a shiftlight using the arduino picking up the crank position sensor, it should help.
http://forums.nasioc.com/forums/show...9&postcount=10 |
![]() |
![]() |
![]() |
#38 | |
Scooby Specialist
Member#: 174442
Join Date: Mar 2008
Chapter/Region:
Tri-State
Location: NNJ
Vehicle:2007 SuperWagon I don't spell well |
![]() Quote:
If you made a controller that even puts the davcs cams back to savcs positions, that would be awesome. |
|
![]() |
![]() |
![]() |
#39 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() If I understand chippernut correctly, it uses an RPM signal on the OBD connector, is that right? If so, I don't think it will be enough as it would not provide crankshaft position.
I think we'll have to calculate cam position based on the delay between cam sensor pulses and the two-long-pulses part of the crank sensor signal. At least, that's how I read the signal illustrations that you posted. So I have been planning to tap into the VR signal from the factory crank position sensor. I've been thinking just in the last couple days that it might be simpler to add a new sensor to a cam gear instead, but I haven't actually looked into how to do that. If we can get cam position info from the cam sensors alone that will be a lot simpler. |
![]() |
![]() |
![]() |
#40 |
Scooby Specialist
Member#: 385256
Join Date: Mar 2014
Chapter/Region:
NESIC
Vehicle:'18 Giulia QV '21 Giulia Q4 |
![]() Could you do something as simple as something like a vampire tap on the cam sensor? Then run it to like an arduino or something as an analog input, since it's relatively slow you could filter it and calculate frequency of cam rotation and have frequency be an index of a control vector/table for oil pressure system pulse width. ?
|
![]() |
![]() |
![]() |
#41 |
Scooby Guru
Member#: 140444
Join Date: Feb 2007
Chapter/Region:
NWIC
Location: Near Seattle, WA
Vehicle:05 Stage Free LGT ATP 3076, 6MT, AVO FMIC |
![]() It will be simpler if the cam sensor alone is all we need, so I'm hoping that's the case. But, as I understand it, all of the pulses from the cam sensor come from the camshaft side of the cam pulley. So they'll always come at a rate that varies by RPM, regardless of the cam angle.
To know the cam angle, we'll need to compare that signal to something that comes from the belt side of the cam pulley, or from the crankshaft. We'll see. |
![]() |
![]() |
![]() |
#42 |
Scooby Newbie
Member#: 439410
Join Date: Jan 2016
|
![]() Hey guys - I just put an ej207 in my kit car that is already running an aftermarket ECU. I have done some work with arduinos and rasberry pis and would love to keep up with this project. Let me know if there are ways I Can help out - I'll start ordering parts.
|
![]() |
![]() |
![]() |
#43 |
Scooby Specialist
Member#: 41561
Join Date: Aug 2003
Chapter/Region:
MWSOC
Location: Chicago
Vehicle:04 GT3076 2.1 Stroker = Broken 3rd |
![]() I'm currently looking into the free online MIT electronic engineering classes to get an better idea on circuit design. It'll be a while. :rollseyes:
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|