Page 1 of 2

1987 Volvo 780

Posted: Fri Jan 19, 2024 6:41 pm
by zed65
Hi, my name is Alex and this is my project car.
780.jpg
The engine is swapped from the V6 to a 3litre inline 6 from a Volvo 960.
At the moment it runs on a custom board with discoveryF407 firmware.
The ECU reads all the "usual" stuff (clt, iat, map) and Fuelpressure , Oilpressure, VSS, EMAP, EGT, flexfuel and 2 knock sensors.
It runs full sequential with coil on plug and 6 875cc injectors.
The engine is force feed with a K29 turbo and a 60mm Chinese wastegate.
Behind the engine is a BMW Getrag GS6-45DZ gearbox and stock axel with a Torsen LSD.
780engine.jpg

Re: 1987 Volvo 780

Posted: Fri Jan 19, 2024 7:34 pm
by AndreyB
It's gorgeous! There is also some green on the left? :)

Re: 1987 Volvo 780

Posted: Sat Jan 20, 2024 1:13 pm
by zed65
Thank you, yeah that's my sons Volvo 242 1975 with a 16v Turbo engine.

Here is the box and pcb, it has some bodges and the MAX31855 is flapping in the wind :D
Maybe one day I'll 3d print some caps to cover the gaps in the enclosure.
780box.jpg
780pcb.jpg

Re: 1987 Volvo 780

Posted: Sat Jan 20, 2024 4:10 pm
by AndreyB
Superseal and pretty hand-solderable? Thats a nice combo!

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:19 pm
by zed65
I took the Volvo for a short test run today.
Here is a cold-start-log from 15C to 40C (I haven't barely touched the tune).
cold2.zip

Here are a log when driving, really need to give her some more fuel :D
testdrive2.zip

Now to the features/problems I have discovered.
1. Flexfuel still don't work as intended. I've added a pull-up resistor but it's still swinging from 0 to actual value.
I need to investigate with oscilloscope to see what happens at the input.
flexfuel.png

2. Fueltemp via the flexfuel sensor would be nice to have implemented.
3. MEMS/Accelerometer, as of now I've connected a ADXL-335 to rawAnalogInput1 but it would be nice to have a more dedicated thing.
4. Non CAN Traction-control using AuxSpeed1 and AuxSpeed2 and cutting the ignition AND using a ETB.
5. Exhaust-MAP to measure back-pressure in turbo system. as of now I-ve connected a MAP-sensor to AuxLinear1.

Don't get me wrong, this is just features that would be nice to have.
The engine runs so smooth, can't say exactly what it is but it's a huge difference from my previous ECU (MS-2).
I think one huge improvement is the control loop of EGO that make it so nice.
CurrentTune.zip

/Alex

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:27 pm
by AndreyB
"Fuel Temperature" is supposed to be there?

ithardwheneverythingispiledtogetherbutstructuremakesiteasierpleasecreateseparateticketsunlesyou see existing tickets?

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:28 pm
by AndreyB
Please understand and accept my question: why do you refuse https://rusefi.com/online/ but insist on manual file management for tune and logs?

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:49 pm
by zed65

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:51 pm
by AndreyB
zed65 wrote:
Thu Feb 01, 2024 4:19 pm
3. MEMS/Accelerometer, as of now I've connected a ADXL-335 to rawAnalogInput1 but it would be nice to have a more dedicated thing.
I do not get it. What's the idea? Feed three analog signals from external MEMS? Let's please not do that. Let's either use a board with a supported SPI MEMS or let's use an external CAN-based MEMS?

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:56 pm
by AndreyB
zed65 wrote:
Thu Feb 01, 2024 4:19 pm
4. Non CAN Traction-control using AuxSpeed1 and AuxSpeed2 and cutting the ignition AND using a ETB.
that sounds doable https://github.com/rusefi/rusefi/issues/5897 https://github.com/rusefi/rusefi/issues/5898

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 4:59 pm
by zed65
AndreyB wrote:
Thu Feb 01, 2024 4:51 pm
zed65 wrote:
Thu Feb 01, 2024 4:19 pm
3. MEMS/Accelerometer, as of now I've connected a ADXL-335 to rawAnalogInput1 but it would be nice to have a more dedicated thing.
I do not get it. What's the idea? Feed three analog signals from external MEMS? Let's please not do that. Let's either use a board with a supported SPI MEMS or let's use an external CAN-based MEMS?
I thought the LIS2D was broken or is there a alternative SPI chip?. I'm mostly interested in one axis anyway so on analog input isn't that much.

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 5:01 pm
by zed65
AndreyB wrote:
Thu Feb 01, 2024 4:27 pm
"Fuel Temperature" is supposed to be there?

ithardwheneverythingispiledtogetherbutstructuremakesiteasierpleasecreateseparateticketsunlesyou see existing tickets?
My bad, the temp is working.

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 5:02 pm
by AndreyB
zed65 wrote:
Thu Feb 01, 2024 4:59 pm
I thought the LIS2D was broken or is there a alternative SPI chip?. I'm mostly interested in one axis anyway so on analog input isn't that much.
I see https://github.com/rusefi/rusefi/issues/4870#issuecomment-1859043810

I am definitely not adding MEMS analog input into the official firmware. You might be able to use Lua to convert aux analog into mems.

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 5:05 pm
by zed65
You don't need to add analog MEMS into firmware.
But as SPI-MEMS is broken I've temporary done this hack

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 7:28 pm
by AndreyB
zed65 wrote:
Thu Feb 01, 2024 5:05 pm
But as SPI-MEMS is broken I've temporary done this hack
I am still confused. LIS2DW12TR on-board Accelerometer support #4870 seems to state that SPI-MEMS is now available for the chip used by Hellen boards? Which matches what Proteus uses?

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 7:30 pm
by AndreyB
just pushed pretty untested wheel speed input https://github.com/rusefi/rusefi/commit/21e698f951a24af694a5bf7dab081e41768599a2

there is a good change that some hardware frequency divider would be needed on those inputs to get frequency well under 10KHz?

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 8:15 pm
by zed65
Nice!, I'll do some testing.
One problem might be that I don't think my car have the same number of pulses front/rear but I'll have to check.

Re: 1987 Volvo 780

Posted: Thu Feb 01, 2024 9:31 pm
by zed65

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 12:14 am
by AndreyB
zed65 wrote:
Thu Feb 01, 2024 9:31 pm
Bench test seems to work
Appreciate testing! Happy to add a constant multiplier if your real vehicle would require it.

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 12:55 pm
by zed65
Can we/you make a change to the firmware to allow for use of the already existing VSS sensor?
That way we save a VR-input and less wires to be added in the car.

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 2:49 pm
by AndreyB
zed65 wrote:
Fri Feb 02, 2024 12:55 pm
Can we/you make a change to the firmware to allow for use of the already existing VSS sensor?
https://github.com/rusefi/rusefi/commit/c250d321dc313c067961bc0a239c4e39ee26b40f

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 5:00 pm
by zed65
Can we use the "raw" VSS pulses to calculate with?
Now when VSS is 72km/h the auxSpeed neds to be at 72Hz to get slipratio 1
Or even better (but more work) to have a proper dialog for auxSpeed's with pulses per km and so on.

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 5:58 pm
by zed65
One other thing, can you revert back the changes made to the LUA problem https://github.com/rusefi/rusefi/issues/5889
The EGT worked for me before that but not now.

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 6:58 pm
by AndreyB
zed65 wrote:
Fri Feb 02, 2024 5:58 pm
One other thing, can you revert back the changes made to the LUA problem https://github.com/rusefi/rusefi/issues/5889
The EGT worked for me before that but not now.
Not excited about reverting because the change was overall in the right direction. Just needs a developer to look into this once again and improve the change to make it right :( Which is not me at this point.

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 7:09 pm
by zed65
I understand, no problem.
One small problem I discovered is that every time I hit "Burn" the auxSpeed goes to zero and stays there.
After a reboot it's back again.

Re: 1987 Volvo 780

Posted: Fri Feb 02, 2024 7:56 pm
by AndreyB
zed65 wrote:
Fri Feb 02, 2024 7:09 pm
One small problem I discovered is that every time I hit "Burn" the auxSpeed goes to zero and stays there.
After a reboot it's back again.
please create a github ticket, sounds like a firmware defect

Re: 1987 Volvo 780

Posted: Sat Feb 03, 2024 5:00 pm
by AndreyB
https://rusefi.com/online/view.php?log=1336 is the first known to me log of real engine rusEFI SPI EGT
image.png

Re: 1987 Volvo 780

Posted: Sat Feb 03, 2024 8:48 pm
by zed65
I've investigated some more in my flexfuel-sensor problem, can't find any.
Thing is that when the engine stalls (0 rpm) I get a nice clean signal but not when the engine runs.
https://rusefi.com/online/view.php?log=1343

I don't want to bring my oscilloscope to the car but I guess I don't have any choice :D

Re: 1987 Volvo 780

Posted: Sat Feb 03, 2024 8:51 pm
by AndreyB
zed65 wrote:
Sat Feb 03, 2024 8:48 pm
Thing is that when the engine stalls (0 rpm) I get a nice clean signal but not when the engine runs.
You know that you would have to bring a fancy tool and poke into wires :)

Re: 1987 Volvo 780

Posted: Sat Feb 03, 2024 8:54 pm
by zed65
Yea, I know I know :lol: