1993 Volvo 240 LS Swap #56

What engine are you torturing? Is it inside some car?
Post Reply
mck1117
running engine in first post
running engine in first post
Posts: 450
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

1993 Volvo 240 LS Swap #56

Post by mck1117 »

My 1993 Volvo 240 has a v8. That v8 now runs on rusEfi!



That video was shot with no sensors hooked up (other than crank position...), so I had it locked to sensible-ish idle settings of 3.5ms fuel, and 20 degrees ignition timing. It was also only running on 6 cylinders in that video, since the pins for injectors 3 and 4 were shorted together on the pcb. That's since been fixed, and it now purrs on all 8 cylinders!

User avatar
AndreyB
Site Admin
Posts: 10516
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City

Re: 1993 Volvo 240 LS Swap #56

Post by AndreyB »

https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

mck1117
running engine in first post
running engine in first post
Posts: 450
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 1993 Volvo 240 LS Swap #56

Post by mck1117 »

Car has now been for a ~half hour drive. No issues to report! Spent some time up above 4k rpm without any sync issues.

Also of note is that AFR was logged using an AEM X-Series wideband controller, connected over CAN bus!

Attached is the log from the drive.
Attachments
2019-12-15_17.31.32.zip
(5.36 MiB) Downloaded 72 times

User avatar
AndreyB
Site Admin
Posts: 10516
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City

Re: 1993 Volvo 240 LS Swap #56

Post by AndreyB »

mck1117 wrote:
Mon Dec 16, 2019 5:59 am
connected over CAN bus!
Please PR this part? :)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

puff
contributor
contributor
Posts: 2812
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: 1993 Volvo 240 LS Swap #56

Post by puff »

aren't there delays introduced by using can bus instead of direct ADC?

mck1117
running engine in first post
running engine in first post
Posts: 450
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 1993 Volvo 240 LS Swap #56

Post by mck1117 »

puff wrote:
Mon Dec 16, 2019 7:38 am
aren't there delays introduced by using can bus instead of direct ADC?
Short answer: No.

Long answer: Yes, but no.

Longer answer:
ADC: We sample the ADC at 200hz. That's a period of 5ms, so the average amount of time we have to wait from any arbitrary point in time until we get a new o2 measurement is 2.5ms (note: this used to run at 20hz, so it used to be 25ms)

CAN: A CAN message can't be longer than ~150 bits, and transmits at 500kbit/s, which means a full frame can transmit in 300 microseconds (0.3ms). The interrupt overhead and processing on the ECU side adds at most another 100us (0.1ms) (since this is relatively low priority compared to other threads/interrupts). TunerStudio is only polling at ~100hz (10ms period), so this is much much faster than anything can consume it. This particular controller sends CAN messages at 100hz, but that's totally fine since the sensor is slow enough that there isn't any content at higher frequencies than that.

Result: Advantage CAN.

In reality, the CAN-based solution is actually MUCH faster than those numbers would suggest. This isn't because the transport is faster (which it is), it's because the actual wideband controller I'm using (AEM X-Series inline) is SO much faster than their older stuff.

Have a look at this snip from the attached datalog:
Image
You can see this happen, in order:
1. TPS starts opening
2. AFR goes lean (transient)
3. air mass starts increasing (MAP sensor indicates pressure change)

Compare that to this log from my other car, where the AFR lags behind the TPS change (using an older AEM 30-4110 wideband gauge/controller):

Image

So even if the actual transport was slower (which it isn't), the faster sensor interface makes up for it.
Last edited by mck1117 on Wed Mar 04, 2020 2:26 am, edited 1 time in total.

User avatar
AndreyB
Site Admin
Posts: 10516
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City

Re: 1993 Volvo 240 LS Swap #56

Post by AndreyB »

Interesting pictures, thank you!

Would be interesting to compare these two images to rusEfi basic cj125 implementation.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

mck1117
running engine in first post
running engine in first post
Posts: 450
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 1993 Volvo 240 LS Swap #56

Post by mck1117 »

russian wrote:
Mon Dec 16, 2019 11:59 pm
Would be interesting to compare these two images to rusEfi basic cj125 implementation.
Back when I had a cj125 (internal) and the AEM 30-4110 (external) hooked up to the same ECU with dual sensors next to each other in the pipe, they were essentially identical. The internal controller was maybe slightly faster, but not significantly like the X-Series is.

Also of note is that the X-Series also has a normal linear analog output, which probably provides the same speed benefit without CAN. However, with CAN, you don't have to worry about DC offsets between the wideband and the ECU.

mck1117
running engine in first post
running engine in first post
Posts: 450
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 1993 Volvo 240 LS Swap #56

Post by mck1117 »

Updates, updates!

This car now has an electronic throttle. I've installed a Hitachi ETB0024, which is intended for a later (gen4, 2005-2013 ish) GM truck, along with an adapter plate to adapt to my 3 bolt intake.

Went for a short drive tonight (with many safety features not enabled...), and didn't die! Yes, my "pedal sensor" was my original cable throttle dangled off to the side. No, you should not try this at home.

Anyway, a datalog of the drive is attached. The throttle tuning isn't perfect (nor is the engine tuning), but it's decent enough!
Attachments
2020-05-01_21.39.19.msl.zip
(1.31 MiB) Downloaded 26 times

User avatar
AndreyB
Site Admin
Posts: 10516
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City

Re: 1993 Volvo 240 LS Swap #56

Post by AndreyB »

I wonder how many 1993 Volvo 240 on this planet have DBW :)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

mck1117
running engine in first post
running engine in first post
Posts: 450
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 1993 Volvo 240 LS Swap #56

Post by mck1117 »

Here's a nice log and the corresponding tune in the name of https://github.com/rusefi/rusefi_documentation/issues/66

The content of the log is roughly:
  • Cold (~21 degrees C) start
  • Local driving to get Chinese takeout
  • Hot restart (~89 degrees C) after acquiring food
  • Highway driving, including a few nice wide-open pulls
  • A bit of city driving at the end before shutdown
Attachments
2020-06-03_19.27.34.mlg.zip
drive data log
(2.85 MiB) Downloaded 11 times
20200530_v8.zip
tune
(1.05 MiB) Downloaded 11 times

Post Reply