PDA

View Full Version : CIS under the new rules



Eric Parham
06-27-2010, 12:36 AM
Okay, I just read through the IT specs, and most of the GCR, for the first time in about 4 years. I see that we can now completely replace computers, add MAF and/or MAP sensors, and some other key bits. Unfortunately, I didn't see any provision to swap out mechanical injectors for electronic injectors. Did I miss it?

Assuming I didn't miss it and there's just no provision for electronic injectors yet, can CIS-basic (K-Jetronic), CIS-Lambda (KL-Jetronic), CIS-E (KE-Jetronic), or CIS-Motronic (KE-Motronic) cars take much advantage of the new rules in current form? If so, what might be considered within reason and worthwhile? The very early CIS-basic had a mechanical computer, namely the CIS metering unit. All of the later versions had metering units with some electronics attached to electronic computers. For all versions including the early basic, the cold start injector was electronic, but typically not well placed for even fuel distribution.

shwah
06-27-2010, 02:02 PM
We can do anything we want with our computers too. No one can change fuel injection hardware.

I have found CIS-E to be very easy to achieve optimum air fuel ratio with, but will be testing a digifant/electronic injection system with an alternate ECU to see if there are any gains to be had. Progress is slow due to grad school and family commitments, but I expect to know the answer sometime this eyar.

Eric Parham
06-27-2010, 09:00 PM
Thanks for pointing out that the CIS-E was easy to keep to optimum AFR. Maybe there's nothing more to be had there. Did you mean open loop and/or closed loop? I thought that CIS-E still went open loop at WOT, but don't have my Bosch manual handy this month. I'd also imagine that taking better control of the ignition timing might possibly be worth something over the OEM knock-sensing ignition.

I am fairly certain that there are some gains to be had for real EFI (e.g., Cali Digifant) vs. CIS, for those cars that can switch (e.g., A2 chassis 8V), but that wasn't really my question.

The question is more for those cars that have no choice (e.g., any A1 chassis Rabbit/Scirocco (non-Cabriolet) or any A2 16V), what can be done for CIS/L/E/Mot within the new rules and is it at all worthwhile? For example, I could imagine using a MSnS to control the CIS-E/Motronic differential pressure valve more easily while also improving ignition timing a bit. The big question is, is it worth the trouble?

GKR_17
06-27-2010, 09:35 PM
The very early CIS-basic had a mechanical computer, namely the CIS metering unit.

Do we really need to define a "computer"? By that logic, a carburetor is also a computer.

GTIspirit
06-27-2010, 09:56 PM
For example, I could imagine using a MSnS to control the CIS-E/Motronic differential pressure valve more easily while also improving ignition timing a bit. The big question is, is it worth the trouble?

I studied using a MS for CIS-E but didn't see a way to make it work with the existing software. I think that a single PWM driver would do it but the software wasn't configured for that.

As far as ignition, I see the four window hall effect sensor as the biggest limiting factor. It would be the equivalent of a two tooth crank wheel..... :( So while MS could give you the ability to change ignition timing across the map rather than rotating the distributor to make a global shift, the inherent inaccuracy of the four window hall effect sensor is a huge handicap.

One of the last Fastrack issues solicited for member feedback to allow "crankfire" ignition which would really help put cars from the distributor era on equal footing with newer cars that came from the factory with a crankshaft trigger wheel. It would also help to make it easier to adapt modern aftermarket ECU's to CIS and CIS-E cars. So hopefully everyone here made their opinion heard on this topic and wrote in.

evanwebb
06-28-2010, 12:51 PM
I dunno, even though it would potentially help me I see the crank fire ignition allowance as a big departure for the IT rules. Not even limited prep Prod can add crank fire!

pfcs
06-28-2010, 10:20 PM
"As far as ignition, I see the four window hall effect sensor as the biggest limiting factor. It would be the equivalent of a two tooth crank wheel..... So while MS could give you the ability to change ignition timing across the map rather than rotating the distributor to make a global shift, the inherent inaccuracy of the four window hall effect sensor is a huge handicap"

The 4 slot sensor's as accurate as any crankfire (excepting any scatter in the intermediate shaft/timing belt/distributor bushings which in a well prepped VW is less than a degree)at 4 critical points-where it fires the ignition.
And in these IT apps, there's no need to vary ignition timing over the working (racing) power band at WOT-believe me.
Of course, without a 60(?) slot crank signal, you can't do some things with the more sophisticated aftermarket DIY injection systems, but if you're so smart, they shouldn't be needed!

Flyinglizard
06-28-2010, 11:18 PM
The d fant AFM passes more air than the CIS door . But the D fant cam passes less air than the CIS cams. .
The advantage of the digi seems to be that , if there is a failure the whole rail shuts off. The CIS will burn off the top of a piston on one straight away, if the injector fails or the fuel dizzy fails/Plugs.
We have been over the 4 window thing a lot already. I support three oval cars that run 13-1 compression . We cant afford any spark scatter and have never seen any with the stock 4 hole dist.
The knock box can ruin an engine on over run, if the vac line is plugged in.
I have had the best results using a Diggy dist with no knock box, fixed advance. There may be gains to be had under our racing rev range or 4700 to 7300.
No crank triggers. bad road to go down. IMHO. MM

GTIspirit
06-29-2010, 10:56 AM
No crank triggers. bad road to go down. IMHO. MM

While I agree with you in principal, and share your concerns about the Prod-car-ization of IT, the reality is that crank triggers ARE allowed in IT, if the car came from the factory with a crank trigger wheel and sensor.

While I also understand and agree with the philosophy that you pick your car, warts and all, the no crank trigger rule creates a rift between the newer cars and older cars.

I'm not proposing that the distributor can be changed out for coil on plug or similar, or that CIS injectors can be replaced by EFI injectors. IMHO that is a clear departure from class philosophy.

I'm just asking that older cars be granted an allowance to use a sensor that comes from the factory on newer cars. Is that not fair to ask? After all, engine output is still mechanically limited by intake, cams, exhaust, compression ratio, etc, all of which are tightly regulated.

Eric Parham
06-29-2010, 01:21 PM
Anyone know the current email for the compboard (I tried [email protected] and it bounced)?

I just want to point out that we can already put a nice trigger wheel (e.g., more than 4 slots) inside the distributor. As for the less than 1 deg if everything's tight -- that's often true (at least if you haven't tanked the block and forgotten to replace the aux shaft bushings), but this can get worse for some engines due to a narrower drive gear with more inherent slop.

9.1.3.D.1.e "Any ignition system which utilizes the original distributor for
spark timing and distribution is permitted. Internal distributor
components and distributor cap may be substituted. Crankfire
ignition systems are prohibited unless fitted as original equipment.
Any spark plugs and ignition wires may be used. Ignition
timing is unrestricted."

JoshS
06-29-2010, 01:48 PM
You can write to the CRB at http://www.crbscca.com.

shwah
06-29-2010, 03:32 PM
I don't think trigger wheels are consistent with IT philosophy.

I also don't think there are gains to be had with them. 4 window works well. We do not need very much timing variation in the racing rev range. If someone wants to they can install a wheel inside the distributor. I know that motorcycle guys have even run smaller number -maybe 12-2 wheels in fuel injection conversions...

Eric Parham
06-29-2010, 03:37 PM
How about:

9.1.3.D.1.a.6
"The engine management computer may be altered or replaced. A throttle position sensor and its wiring may be added or replaced. Crankshaft and/or camshaft position sensors and wiring may be added or replaced. A MAP or MAF sensor and its wiring may be added. Other existing sensors, excluding the stock air metering device, may be substituted for equivalent units."

9.1.3.D.1.e
"Any ignition system which utilizes the original distributor for spark XXXXXXXX distribution is permitted. Internal distributor components and distributor cap may be substituted. Crankfire ignition systems are XXXXXXXXXX permitted. Any spark plugs and ignition wires may be used. Ignition timing is unrestricted. Batteries . . .."

Eric Parham
06-29-2010, 04:02 PM
I'm not proposing that the distributor can be changed out for coil on plug or similar, or that CIS injectors can be replaced by EFI injectors. IMHO that is a clear departure from class philosophy.

I'm just asking that older cars be granted an allowance to use a sensor that comes from the factory on newer cars. Is that not fair to ask? After all, engine output is still mechanically limited by intake, cams, exhaust, compression ratio, etc, all of which are tightly regulated.

I agree with your position that older cars should be allowed to add sensors that come standard on newer cars. Although I personally disagree that older cars should not also be allowed to add actuators (e.g., EFI injectors for CIS, or coil-on-plug for H.T. distributor, etc.) that come standard on newer cars, perhaps we're not quite ready for that yet.

shwah
06-30-2010, 12:48 AM
What you are arguing would be to allow carbed cars to add efi as well then?

The sensor rule is only relevant to sensors, not hard parts or wheels. The distributor rule lets you do anything you want inside the distributor. With those 2 together you can make a position sensor in the distributor.

Eric Parham
06-30-2010, 07:50 AM
At this point, all I'm arguing is for a crank or cam position sensor to be allowed as a potentially more accurate and cheaper input into the recently freed ECU. As it stands, I think we basically have another "within the box" rule like the old ECU rule, but the box limitation has just been moved to the distributor for cars that lacked an adequate crank and/or cam position sensor (or trigger wheel) from the factory.

Not sure what you mean by "the sensor rule". If sensors were completely free (which they are not), I think that would include trigger wheels. On the other hand, existing flywheel teeth could be equally useful if a proper sensor could be added.

We agree on the distributor position sensor being allowed, but all of my reasoning for that comes from the ignition section.

GTIspirit
06-30-2010, 08:38 AM
At this point, all I'm arguing is for a crank or cam position sensor to be allowed as a potentially more accurate and cheaper input into the recently freed ECU. As it stands, I think we basically have another "within the box" rule like the old ECU rule, but the box limitation has just been moved to the distributor for cars that lacked an adequate crank and/or cam position sensor (or trigger wheel) from the factory.

Not sure what you mean by "the sensor rule". If sensors were completely free (which they are not), I think that would include trigger wheels. On the other hand, existing flywheel teeth could be equally useful if a proper sensor could be added.

We agree on the distributor position sensor being allowed, but all of my reasoning for that comes from the ignition section.

^2. Well said, exactly my position just stated differently.

We've already agreed in separate threads that a toothed crankshaft wheel is allowed under the pulley allowance. And I thought we already agreed that there is no provision for the crankshaft position sensor, sensors are only free for gauges and data acquisition, not for engine management.

For example, WB02 is allowed for gauge display and data acquisition purposes, but not as an input to the ECU, unless of course you have a newer car that came from the factory with a WB02 input to engine management.

P.S. I just received word back from the SCCA that the letter I submitted on this subject a few weeks ago, in response to Fastrack asking for feedback on this topic, was reviewed and a proposal set forth to be voted upon in the next board meeting and published in the next Fastrack.

Eric Parham
06-30-2010, 06:35 PM
Good stuff. Can't wait to see how it turns out!

Now let's get back to the CIS issue. I'd love to control it with MegaSquirt. I recall from an older thread that someone made CIS-Lambda work with a proprietary box, but that wasn't open source and wouldn't even work for CIS-E or CIS-Mot. I'm also unconvinced that it would be fast enough for transients, although steady-state would have to be better. It's too bad that no one seems to have been able to get the CIS-E/Mot differential fuel pressure regulator (DPR) working with MegaSquirt. Maybe I'll make a project of it, but first let's consider an alternative.

While most EFI systems primarily try to regulate fuel pressure and modulate injectors to control fuel flow, CIS generally controls fuel flow by changing fuel line pressure to the injectors. I wonder if this line pressure could be modulated (i.e., turned off and on) to control flow using off-the-shelf MegaSquirt in a non-sequential mode as an alternative to controlling the DPR. The later CIS-E/Mot systems might be physically capable of it (and already have a built-in airflow plate potentiometer), but would probably not be accurate enough due at least to the uneven lengths of the injector lines. Fortunately, "fuel lines may be replaced, relocated" (see 9.1.3.D.1.b), presumably with equal lengths :)

Also, 9.1.3.D.1.b (final sentence) seems to permit installing "an external fuel pump pressure regulator". Is that different than a fuel pressure regulator (FPR)? Does "an" limit this allowance to one? If the car already has one, can a different one be substituted or added? Could an original one be substituted AND an additional one be added? I don't see any limitations on placement other than that it be external to the fuel pump. I also don't see any limitations to a purely mechanical device, so I think it can be controlled by vacuum and/or electronically.

Are we there yet? Worth a try?

GTIspirit
07-01-2010, 08:13 AM
Back on topic. :happy204:
I've been thinking about this very topic for a long time now and don't have a good solution. I believe that all you should need is a PWM output to control the DPR valve. If you can control the duty cycle to the valve then you are in control of the current to the valve. And not very much power is required, the DPR valve is around 18-20Ohms and needs at most 150mA, around 0.5W.

I don't think it will work to just tie the injector outputs together to get a periodic signal, probably not fast enough and the DPR might actually react to the individual pulses of the injector.

So to do this the injector pulsewidth output from the MS would need to be converted to a duty cycle, 0-100%. The trick will be getting enough resolution, on my PL engine at WOT the DPR current was around 22mA and idle is around 5mA. So not much current is required, and AFR definitely responds to a 2mA change in DPR current.

The other thing to consider was the good point made above about overrun fuel cutoff. If the DPR current is not adequately reversed and there is some fuel dribble on overrun that could be a very bad thing to have such lean burn. If the injectors are completely closed off and the engine is just pumping air on overrun then no problem. But I can see how some small fuel flow could create big lean burn problems.

Eric Parham
07-01-2010, 09:17 PM
I believe that all you should need is a PWM output to control the DPR valve. If you can control the duty cycle to the valve then you are in control of the current to the valve. And not very much power is required, the DPR valve is around 18-20Ohms and needs at most 150mA, around 0.5W.

Is the OEM DPR input pulse width modulated (PWM) or continuous? I had been thinking that we needed to give it a continuous mA signal.


I don't think it will work to just tie the injector outputs together to get a periodic signal, probably not fast enough and the DPR might actually react to the individual pulses of the injector.

Probably not, but still might be worth a try.


So to do this the injector pulsewidth output from the MS would need to be converted to a duty cycle, 0-100%. The trick will be getting enough resolution, on my PL engine at WOT the DPR current was around 22mA and idle is around 5mA. So not much current is required, and AFR definitely responds to a 2mA change in DPR current.

The Power Module ups that DPR current a bit. I think there are half a dozen settings, but the higher ones are in the 40mA range, IIRC.


The other thing to consider was the good point made above about overrun fuel cutoff. If the DPR current is not adequately reversed and there is some fuel dribble on overrun that could be a very bad thing to have such lean burn. If the injectors are completely closed off and the engine is just pumping air on overrun then no problem. But I can see how some small fuel flow could create big lean burn problems.

Agreed. I believe that a sufficiently negative input (don't remember how much, maybe -10, maybe -50) to the DPR does cut fuel completely, but this would have to be verified.
On the other hand, it would probably run better under racing conditions (if fuel usage wasn't an issue) if the AFR was simply maintained.

GTIspirit
07-01-2010, 10:17 PM
Is the OEM DPR input pulse width modulated (PWM) or continuous? I had been thinking that we needed to give it a continuous mA signal.

The Power Module ups that DPR current a bit. I think there are half a dozen settings, but the higher ones are in the 40mA range, IIRC.

Agreed. I believe that a sufficiently negative input (don't remember how much, maybe -10, maybe -50) to the DPR does cut fuel completely, but this would have to be verified.
On the other hand, it would probably run better under racing conditions (if fuel usage wasn't an issue) if the AFR was simply maintained.

Admittedly I haven't hooked up a scope to watch the DPR current control signal, but I do believe it is a bona-fide old school current control. A duty cycle of sufficient frequency should do the same thing. At a high enough frequency, I think around 100Hz, the valve won't respond to the individual pulses. Or you could take a duty cycle output to an appropriate transistor or MOSFET to then get a straight current output to the DPR.

40mA sounds way too much considering the measurements I've made. I increased DPR current by 2mA from around 20mA to 22mA at WOT by maxing out the altitude sensor input and that was enough to richen AFR by almost one point.

I believe -50mA is the max negative current specification and I've measured around -40mA when in overrun and fuel cut is active.

Personally, I think there is very little to be gained by changing the fuel injection control system. There are various means available to reach a desired AFR, albeit by making global shifts irrespective of engine rpm. So a little chip tuning is in order to make rpm dependent adjustments. :p

And as people above have pointed out, there might not be much to gain from a crankfire ignition system, except to make tuning easier and to make rpm dependent spark timing changes rather than the global shift that moving the distributor makes. So it's possible that there is a little to be gained from improving the area under the curve.

Flyinglizard
07-02-2010, 12:07 AM
This is exactly the technology that IT does not need. The HP increase potential cant be more than maybe 4hp at 6500.
We dont need guys with too much free time expanding the dollars vs Hp return. IMHO. Keep it cheap and simple as it was meant to be.
Go play in GT or prod.
The WOT settings can be very close to optimal, both timing and AFR. with the current low tech systems. We dont care about cruise or boost /timing ratios.

GTIspirit
07-02-2010, 08:16 AM
This is exactly the technology that IT does not need. The HP increase potential cant be more than maybe 4hp at 6500.

Sorry, but the genie is out of the bottle with the open ECU rule. There is no denying that fact. So why shouldn't everyone be able to ask the genie for a wish, not just the few who play with a newer car that already has a crank trigger? Just asking for a level playing field......

If the comp board follows through on the proposal for competition adjustments then this becomes a moot point because then it doesn't matter if so and so engine can achieve the theoretical power multiplier since the weight will be adjusted to balance out over and under achievers.

Eric Parham
07-02-2010, 06:20 PM
The HP increase potential cant be more than maybe 4hp at 6500.

I was thinking 1 or 2, but 4 could be night and day! Thanks for the extra carrot ;)


We dont need guys with too much free time expanding the dollars vs Hp return.

Free time? Never even met her; and if I did, it wasn't me. Anyway, the plan is less $ for more hp -- hence the hope to use MegaSquirt rather than anything proprietary.


Personally, I think there is very little to be gained by changing the fuel injection control system. There are various means available to reach a desired AFR, albeit by making global shifts irrespective of engine rpm. So a little chip tuning is in order to make rpm dependent adjustments.

Well, even if that's all we get, a tad wider torque band and not having to pay for chip tuning (and/or be at the mercy of the chip tuner) would seem worth it to me.


And as people above have pointed out, there might not be much to gain from a crankfire ignition system, except to make tuning easier and to make rpm dependent spark timing changes rather than the global shift that moving the distributor makes. So it's possible that there is a little to be gained from improving the area under the curve.

Ditto.


Sorry, but the genie is out of the bottle with the open ECU rule. There is no denying that fact. So why shouldn't everyone be able to ask the genie for a wish, not just the few who play with a newer car that already has a crank trigger? Just asking for a level playing field......

Indeed. In fact, it would likely be cheaper for most in the long run just to allow free inputs/sensors and a common set of outputs/actuators, rather than force some into these silly work-arounds just because they happen to be trying to make use of an older (generally cheaper) platform. Sometimes it seems like every other kid on VW Vortex has tossed CIS for MS with EFI injectors, obviously because it's less expensive and has a more predictable outcome than trying to re-map the ancient CIS. I fully believe that as soon as someone spends the time to finally get CIS up to speed (assuming that's possible), many nay-sayers will suddenly change their minds and want everyone on EFI -- probably even the carbed cars. If that decision is going to be made, I only hope that it's sooner rather than later.


If the comp board follows through on the proposal for competition adjustments then this becomes a moot point because then it doesn't matter if so and so engine can achieve the theoretical power multiplier since the weight will be adjusted to balance out over and under achievers.

I agree to a point. I think allowing a more even starting point would likely make competition adjustments easier, if only because the theoretical formulas would then be slightly closer to reality. I think some competition adjustments would still be necessary if the ultimate goal is really to level the playing field within a very finite number of classes.

GTIspirit
07-02-2010, 07:06 PM
Well, even if that's all we get, a tad wider torque band and not having to pay for chip tuning (and/or be at the mercy of the chip tuner) would seem worth it to me.


Who said anything about having to pay or be at the mercy of the chip tuner? :D

http://i27.photobucket.com/albums/c184/clmoore3rd/0280800180/Philips.jpg

Well, ok, the pay part will cost me as it's near impossible to decipher the contents of that PROM chip without the code to know what data is used for what purpose. Nothing an EEPROM emulator can't fix. ;)

It is my Don Quixote quest to prove that CIS-E rocks and the only reason people discard it for MS is because they can't tune it as easy as MS.

Eric Parham
07-02-2010, 08:03 PM
Oh, that's better :) Unfortunately, I'm jaded by previous experience. Assuming you can't get hold of some insider info (e.g., source), or someone else hasn't deciphered it before and documented the map, just figuring out what's what could take weeks. Also, since the new rules already allow an all-encompassing ECU, why tune the fuel map without connecting the dots for the ignition map as well? I just wouldn't want to leave anything else on the table.

shwah
07-03-2010, 09:04 AM
BTW I have hooked up a scope to the dpr. It is bonafide simple continuous current signal.

GTIspirit
07-03-2010, 09:39 AM
Anyone familiar with MCS-48? The big Philips chip in the above picture is an Intel 8049. The PROM to the side is a N82S129/DM74S87. The PROM only contains 256bytes of data in four bit words. Just sixteen lines, how hard can it be to figure out without code? Just take a best guess, change some stuff, and see what happens. Of course not on the car.... :D


BTW I have hooked up a scope to the dpr. It is bonafide simple continuous current signal.

No problem, a duty cycle of sufficiently high frequency will be the same thing, say well above 100Hz.

As a result of the small electromagnetic time constant and the small masses to be moved the actuator reacts very rapidly to voltage changes at its input terminals. The cut-off frequency is well over 100Hz.
Top of page 9 of the above referenced paper, SAE paper 820253 http://papers.sae.org/820253. Well worth the purchase price if you really want to know the intimate details of KE-Jetronic.

shwah
07-03-2010, 08:18 PM
what frequency does the pwm for an electronic fuel injection system run at?

Eric Parham
07-03-2010, 10:09 PM
Generally less than 100 Hz and varies with engine speed. Can depend on whether simultaneous/batch, banked, or sequential, but I think the max is twice per crank rev. If we assume for the moment that 200 Hz is needed, that would only be met at or above 6000 rpm.

There's probably a way to use the boost control in MSExtra to control it open-loop, but that's only a 6x6 table -- probably too coarse. For the frequency valve of CIS-Lambda, see this interesting thread: http://www.msextra.com/forums/viewtopic.php?f=4&t=34310&p=232211&hilit=cis#p232211

Now back to CIS-E and/or CIS-Motronic. To use the much higher resolution MS fuel maps, there doesn't seem to be any way to get a mA current signal directly out of MS. I'm now exploring whether we could integrate EACH individual injector pulse from MS and update a continuous mA current signal according to the measured duration.

GTIspirit
07-04-2010, 09:04 AM
There's probably a way to use the boost control in MSExtra to control it open-loop, but that's only a 6x6 table -- probably too coarse. For the frequency valve of CIS-Lambda, see this interesting thread: http://www.msextra.com/forums/viewtopic.php?f=4&t=34310&p=232211&hilit=cis#p232211

Now back to CIS-E and/or CIS-Motronic. To use the much higher resolution MS fuel maps, there doesn't seem to be any way to get a mA current signal directly out of MS. I'm now exploring whether we could integrate EACH individual injector pulse from MS and update a continuous mA current signal according to the measured duration.

This is a good discussion we've got going, gave me an idea I didn't think of earlier regarding MS and control of the DPR.

Anyone know the frequency on the MS boost control output or the duty cycle output?

Rather than re-writing the fuel control functions to control the DPR, just take the pulsewidth output and port it straight over to a duty cycle output, such as the boost control or so-called "Dwell duty %" output.

Then all the tables are tuned in a virtual percentage, e.g. 0%=0us and 100%=100us, or if a different resolution was required this could be scaled by a multiplier. In effect, what I'm thinking is Injector pulsewidth=duty cycle input of either the boost control or duty cycle function. So that instead of using the 6x6 table the output of that table comes from the existing fueling functions. This should actually be pretty easy to do with basic knowledge of C-code. Hmmm.

Eric Parham
07-04-2010, 10:38 AM
Anyone know the frequency on the MS boost control output or the duty cycle output?

Don't know yet. I think I read that it was a voltage output that would need to be converted to frequency.


Rather than re-writing the fuel control functions to control the DPR, just take the pulsewidth output and port it straight over to a duty cycle output, such as the boost control or so-called "Dwell duty %" output.

Pulse-width, yes; but not the current RPM-dependent output waveform. That is, if you mean the main fueling or injector signal from MS, I don't think that signal really represents what we need, since it would increase drastically with RPM. Assuming that the CIS metering valve is still connected to the CIS metering plate (most likely required, because I don't think the DPR has enough range/resolution to do the whole job by itself -- although I might be wrong -- does that SAE paper mention the min/max input range?), that would mean that our fueling would be proportional to RPM squared rather than just RPM. The MS signal that contains the most usable info, but currently in the wrong form, is the injector pulse-width itself (which only changes with RPM for fine-tuning, but isn't the main RPM compensation). I think that the CIS metering plate should remain the *primary* RPM-dependent compensator.


Then all the tables are tuned in a virtual percentage, e.g. 0%=0us and 100%=100us, or if a different resolution was required this could be scaled by a multiplier. In effect, what I'm thinking is Injector pulsewidth=duty cycle input of either the boost control or duty cycle function. So that instead of using the 6x6 table the output of that table comes from the existing fueling functions. This should actually be pretty easy to do with basic knowledge of C-code. Hmmm.
I haven't even used MS yet (but will be buying one or two soon), so I might be misunderstanding something here. Again, I agree to a point if we could use the injector pulse-width itself, but the output signal is actually an RPM-dependent waveform (with significantly increasing duty cycle as RPM rise). Or, do you think the DPR could handle the whole job by itself without relying on the CIS metering plate (e.g., disconnect it from the metering valve, or lock the plate all the way up if another MAF is added. . .)? Even if the MS injector pulse-width could be used as the direct input to the 6x6 boost map (can it?), aren't we then limited to 1 of 6x6=36 possible outputs? Hmmm . . . Maybe that IS enough. Finally, what do you mean by "Injector pulsewidth . . . input of . . . duty cycle function". Is that something that MS can already do without using a map?

EDIT: Oh, you mentioned C code. Can we write our own functions in C for MS? If so, that might actually be the best solution. I don't suppose my ancient C 6.0 compiler would do the job... What chip for MS3? Is there a development structure/environment?

EDIT #2: I have to tell you that I'm not very comfortable with the idea of providing a PWM input to the DPR, even if it seems to work, due to longevity concerns. A passive filter might "fix" it, but the time constant required for low-RPM might introduce unnecessary delay at high-RPM. An active filter might be necessary.

shwah
07-04-2010, 11:40 AM
There's probably a way to use the boost control in MSExtra to control it open-loop, but that's only a 6x6 table -- probably too coarse.

Considering that the flowplate is still providing a gross map based on mass air flow, and we are talking about a 'fuel trim', which is in a 1x2 table today with the cts resistor approach, it seems this would still represent progress.

Eric Parham
07-04-2010, 12:33 PM
Considering that the flowplate is still providing a gross map based on mass air flow, and we are talking about a 'fuel trim', which is in a 1x2 table today with the cts resistor approach, it seems this would still represent progress.

I think the CTS resistors, altitude resistors, and/or Power Module hacks effectively just change one or two values that we think about, but remember that the CIS-E/Mot metering plate basically rides in a single-slope cone (unlike the fancier early CIS/L cones, and there was no fancy CIS-E/Mot cone for US 16V engines, AFAIK -- although I've seen a "Euro" one from VWMS back in the day, which would have cost more than my whole car at the time). So, the stock CIS-E computer is still changing trims several times to compensate for the missing slope changes. With MS, we're talking about nixing the stock computer, so we'd no longer have those stock values either. Thus, 6x6, where one axis is rpm and the other axis is phantom injector duration (assuming looping that pre-output back as an input within MS is already possible), would basically allow only 6 different mA settings within each 1200 rpm band. Hmm . . . so I guess you're right -- it might just be an improvement. But, I sure would like to see a little bit more for our efforts.

EDIT: You know what -- I think it's worth trying! Since the boost control output is already supposedly a piece-wise continuous voltage, and we know the resistance of the DPR (18-20 Ohms?), I think we might already have our continuous mA current output without worrying about the effects of PWM on the seemingly fragile DPR bi-metal actuator.

GTIspirit
07-04-2010, 07:11 PM
Pulse-width, yes; but not the current RPM-dependent output waveform. That is, if you mean the main fueling or injector signal from MS, I don't think that signal really represents what we need, since it would increase drastically with RPM. Assuming that the CIS metering valve is still connected to the CIS metering plate (most likely required, because I don't think the DPR has enough range/resolution to do the whole job by itself -- although I might be wrong -- does that SAE paper mention the min/max input range?), that would mean that our fueling would be proportional to RPM squared rather than just RPM. The MS signal that contains the most usable info, but currently in the wrong form, is the injector pulse-width itself (which only changes with RPM for fine-tuning, but isn't the main RPM compensation). I think that the CIS metering plate should remain the *primary* RPM-dependent compensator.


Maybe I wasn't exactly clear. I didn't mean to take the injector output signal, not the physical signal. I was thinking to take the global variable in the code, whatever it's called, for argument sake, let's call it InjVlvPW for injector valve pulsewidth. Make that a global variable so it's available to other functions, and break the connection to the power stage so the injector pulsewidth doesn't go to the drivers. Then instead of taking the output of the 6x6 map for boost control, break that connection in the code so that InjVlvPW takes the place of that output and then goes to the duty cycle driver.

BTW, all modern engine control systems I know of don't use current control, they use a duty cycle to simulate a current. At a high enough frequency the valve doesn't know the difference.

So now with the above change, you'd have to use the throttle plate for open loop fueling, the gross fueling because as was just commented, the DPR current isn't intended to provide full range of adjustment, only a trim. The throttle plate also becomes the MAF input to the fueling functions above, though alpha N might be a better choice.

The more I think about it the more I'm liking this solution. I'll have to see if I can look into the details and sketch up the code changes that might be necessary.

pfcs
07-04-2010, 07:56 PM
Not that I don't think you're re-inventing the wheel or spinning them, but a simple LC circuit would output DC if the frequency wasn't too low.
Then, if the DPR resistance is 20 ohms, 1.0v=20mA @100% duty cycle.
Aaah! Not thinking! There would be lag from the capacitance.
Oh well, you guys figure it out. But then....if the cap was small enough................Digifant anyone?

PS: consider that some time spent with a test bench and an eprom emulator would probably be fruitful.
Chop up a CIS E harness. Provide power, warm coolant sig, WOT sig, and a 20 ohm bulb instead of DPR-or maybe 2 bulbs, each thru a diode of opposite polarity. Use a freq generator to input RPM. You really only need to find full load tables so it's not quite a needle in a haystack situation. Look thru the chip's files for a series of rising values as you read across in base 10. Edit a middle value to zero. As you quickly twist the freq knob to the test bed, a bulb will glow when you go thru a very lean or rich point. Once you find one place in the file that affects the output, see if it applies to a certain range of rpms (usually 500-800). If you've hit paydirt, you'll probably find that the next higher bin applies to the next rpm range, etc. You can map your chip pretty fast once you find that first bin. And the stock ECU is damn good, I think.

GTIspirit
08-01-2010, 06:44 PM
PS: consider that some time spent with a test bench and an eprom emulator would probably be fruitful.
Chop up a CIS E harness. Provide power, warm coolant sig, WOT sig, and a 20 ohm bulb instead of DPR-or maybe 2 bulbs, each thru a diode of opposite polarity. Use a freq generator to input RPM. You really only need to find full load tables so it's not quite a needle in a haystack situation. Look thru the chip's files for a series of rising values as you read across in base 10. ....And the stock ECU is damn good, I think.

Exactly my thoughts, which is why I was working on this, finally completed. :026: I think that KE-Jetronic has gotten a bad rap because no one realized it has a chip, until now, and most people just throw on the Megasquirt. I believe in the goodness of the KE-Jetronic and so I'll be putting this to good use to decipher the data on the chip to get more fueling exactly where I need it in the rpm range.

http://i27.photobucket.com/albums/c184/clmoore3rd/Jetronic_BOB/20100801_30_DSC_0680_Jetronic_BOB.jpg

Build your own KA-KE-CIS2 Breakout box, or, how to fit 10lbs of stuff in a five pound box. ;)

Detailed pictures of the breakout box build can be found here:
http://s27.photobucket.com/albums/c184/clmoore3rd/Jetronic_BOB/
ECU connector actually came from a Digi 2 harness, so this breakout box is actually good for more than just KE-Jetronic, woo hoo!

pfcs
08-01-2010, 10:19 PM
Nice job, but how does it work? I expect the pin-outs are taps on each circuit of the multi-plug. Why the second female ECU multi-plug and what's your plan?

GTIspirit
08-02-2010, 08:15 AM
The breakout box inserts between the vehicle side ECU connector and the real ECU. What looks like an ECU in the picture above is really just a shell, simply to connect all 25 wires to the length of harness and get the ECU connector. The ECU shell plugs into the vehicle in place of the real ECU and then the cable sleeved wire is long enough to place the breakout box in the passenger compartment. The real ECU will connect to that small pigtail. That way I can drive around with the hood closed and make measurements. :p In making this I realized that probably every early VW ECU with 25pin connector is compatible. The donor ECU for that side of the connector came from a Scirocco 16V, sometimes referred to as KA-Jetronic. The harness side connector actually came from a Digi 2 engine harness. I made sure that the breakout box contained all the circuits, since not all of these ECU's use all the circuits, and some are tied together internally. So I can actually use this on a lot more VW ECU's than I thought. :happy204:

For sure, a lot of work, but I'm not a software engineer and so it's easier for me to decode the contents of the PROM chip than it is for me to modify MS code to control the DPR valve.

VWralley
08-16-2010, 01:50 PM
"Any ignition system which utilizes the original distributor for
spark timing and distribution is permitted. Internal distributor
components and distributor cap may be substituted. Crankfire
ignition systems are prohibited unless fitted as original equipment."

So as long as the ignition uses the distributor, you are allowed to run anything to control it?