How do I reproduce EMI-related problem at my place? Also smoke

Hardware inside and outside of the ECU
Post Reply
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

How do I reproduce EMI-related problem at my place? Also smoke

Post by AndreyB »

Back in 2022 a fatal error caused by specific variable speed shop fan was reported https://github.com/rusefi/rusefi/issues/4310 it's unfortunately still being reproduced.

What shall I do next? Go back with an oscilloscope to confirm noise on 12v power supply lines? Should I go back with $5 aliexpress USB isolator which claims to have ADUM3160?

How can I reproduce this at home say for $500 or less?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
JRD McLAREN
contributor
contributor
Posts: 435
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: How do I reproduce EMI-related problem at my place?

Post by JRD McLAREN »

...as I'm see ... it is hellen88bmw ..??

what kind of ignition coil (or ign. pack) BMW have ..??

now I have one totally burned Ecu Master EMU SIlver (a.k.a. VEMS) ..from BMW
..and few VEMS ecu, was destroyed the same way, cause EMI, aprox. three years ago.

This "big square" coil has problem - https://accessoriesspares.co.za/product/ign-coil-bmw-e46-m-series-325-3pin/
new "small round" coil is ok - https://accessoriesspares.co.za/product/ign-coil-elect-bmw-l-rover-3p-2/
.. some Proteus and microRusEFI for sale in Europe ..
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: How do I reproduce EMI-related problem at my place?

Post by AndreyB »

Back in 2022 it was hellen88can but this year is the small-can-board without igniters without coil control at all.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by AndreyB »

Well, wider context: we have two separate incidents of smoke recently.

https://github.com/rusefi/rusefi/issues/5728 and https://github.com/rusefi/rusefi/issues/5729

We run a manual test and results are claiming that hard fault would have stopped pins and NOT caused smoke https://github.com/rusefi/rusefi/issues/5723

Looking for ideas on what to do next. We will implement stm32 own hardware watchdog maybe we are legit hanging the code flow somehow? Not sure :(

My case of smoke I know DC motor signal was registering on VR input maybe crazy inputs have failed to decode enough to cause smoke? See note on https://github.com/rusefi/rusefi/issues/5723

Overall the big question is what kinds of negative testing can we do how.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Dron_Gus
contributor
contributor
Posts: 456
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by Dron_Gus »

EMI will not 100% lead to HardFault.
EMI can cause PLL or oscillator failure - code execution stops.
So SW is not a solution.

Use HW timers for one-short pulse generation. Still can stuck active in case of PLL/clock issue.
Use special IC. MC33810 has several protections for ign outputs.
User avatar
Dron_Gus
contributor
contributor
Posts: 456
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by Dron_Gus »

Negative test - short oscillator. ECU should stop driving everything. I guess we have no fallback to internal oscillator enabled.
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by AndreyB »

Dron_Gus wrote:
Thu Nov 16, 2023 4:45 pm
EMI will not 100% lead to HardFault.
Good chance we have more than one issue?

variable FAN situation seems to be trigger specifically by USB, so maybe EMI makes USD driver hard fault maybe the driver is not handling something properly?

and the coils stuck open could be a totally different story
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by AndreyB »

Dron_Gus wrote:
Thu Nov 16, 2023 4:48 pm
Negative test - short oscillator. ECU should stop driving everything. I guess we have no fallback to internal oscillator enabled.
https://github.com/rusefi/rusefi/issues/5730
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by AndreyB »

Dron_Gus wrote:
Thu Nov 16, 2023 4:45 pm
Use special IC. MC33810 has several protections for ign outputs.
https://github.com/andreika-git/hellen-one/issues/207
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
JRD McLAREN
contributor
contributor
Posts: 435
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: How do I reproduce EMI-related problem at my place? Also smoke

Post by JRD McLAREN »

sometimes is not problem in ECU .. itself ..

I have one scenario on 4AGE engine, Hall on crank, 4 CDI coils
modified stock wiring loom ...
Never runs properly, kills 3 USB ports ... and many many hall sensors and spark plugs..

It must be totally reworked ..
VR on crank, brand new wiring loom must be created
and wires for CDI coils must be shield, and routed separately from all other wires
.. some Proteus and microRusEFI for sale in Europe ..
Post Reply