Zilvia.net Forums | Nissan 240SX (Silvia) and Z (Fairlady) Car Forum

Go Back   Zilvia.net Forums | Nissan 240SX (Silvia) and Z (Fairlady) Car Forum > General > Tech Talk

Tech Talk Technical Discussion About The Nissan 240SX and Nissan Z Cars


Reply
 
Thread Tools Display Modes
Old 08-10-2021, 09:01 PM   #1
spacemonkey
 
Join Date: Aug 2020
Location: California
Posts: 22
Trader Rating: (0)
spacemonkey is an unknown quantity at this point
Feedback Score: 0 reviews
ECU bench testing

Came across this series of videos that describe how to test ECU functionality using a low budget bench setup (just a multimeter and oscilloscope).

https://www.youtube.com/watch?v=xil-pvZPefo
https://www.youtube.com/watch?v=WZk5eMC0sZo
https://www.youtube.com/watch?v=SI5deNpUuwo

The guy in the video created some sort of 'electro-mechanical' device to simulate the input signals from crank and cams, but did not explain how it works. Any idea how it works, is it just a sine wave generator?
spacemonkey is offline   Reply With Quote
Sponsored Links
Old 08-13-2021, 06:49 AM   #2
Kingtal0n
Post Whore!
 
Kingtal0n's Avatar
 
Join Date: Jul 2005
Location: South Florida
Age: 41
Posts: 4,828
Trader Rating: (17)
Kingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond repute
Feedback Score: 17 reviews
Send a message via AIM to Kingtal0n
Engines use different reluctor wheels
ex.




The reluctor is used for timing and it is specific to each engine. SO to setup any kind of testbench input to the ECU you will generally need an OEM reluctor spun to generate the necessary signal. Each cylinder has its own wave pattern so it isn't as simple as a sine wave or some basic shape.

Engines use crankshaft sensors for timing and some use the camshaft to help with timing, but that is unusual for some manufacturers. For example the LS only uses the crank sensor and the engine can run easily without the cam sensor from the factory.

SR20 will use the camshaft AS the crankshaft sensor. The cam sensor has crank information integrated to it, so it is both. Thus to setup a test bench you would simply power and spin the CAS input to the ECU.

Running the ECU at home is simple, as shown here you can use a simple CASE POWER supply for a desktop PC to run the 12V computer


Part of becoming an experienced engine tuner is learning how important and specific the crankshaft trigger signal is, how to properly wire it using shielded cables and to keep those wires away from all other wires.
-This is the first concept you should learn as a novice tuner, frankly

Factory harnesses are deceivingly well thought out and the first time people try to install or wire an aftermarket ecu or crank sensor, they quickly find themselves in deep trouble because of those 2 or 3 crank trigger wires not being absolutely ideally run. I've seen it more times than I can count "Help my car suddenly won't start" 3 days later "oh my mechanic zip tied the crankshaft sensor wires to the battery cable"
That was last week. This happens alll the time in custom installations.
Kingtal0n is offline   Reply With Quote
Old 08-14-2021, 08:35 PM   #3
spacemonkey
 
Join Date: Aug 2020
Location: California
Posts: 22
Trader Rating: (0)
spacemonkey is an unknown quantity at this point
Feedback Score: 0 reviews
Thanks for the excellent answer. Can you please elaborate on this point...

> spin the CAS input to the ECU

Can this input be simulated by some simple microcontroller or a Raspberry Pi?
spacemonkey is offline   Reply With Quote
Old 08-15-2021, 11:16 AM   #4
Kingtal0n
Post Whore!
 
Kingtal0n's Avatar
 
Join Date: Jul 2005
Location: South Florida
Age: 41
Posts: 4,828
Trader Rating: (17)
Kingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond reputeKingtal0n has a reputation beyond repute
Feedback Score: 17 reviews
Send a message via AIM to Kingtal0n
Quote:
Originally Posted by spacemonkey View Post
Thanks for the excellent answer. Can you please elaborate on this point...

> spin the CAS input to the ECU

Can this input be simulated by some simple microcontroller or a Raspberry Pi?
I assume you mean to ask whether one may design a circuit to simulate an reluctor output. Of course it is possible if you are familiar with the wave form explicitly and capable of programming or designing a circuit to output the necessary wave form and amplitude to input to the ECU.

For example matlab contains all the necessary signal generators and stimulatory effects to output almost any wave shape signal. How you go about that that may vary widely as each reluctor signal can be quite different. Internal microprocessor wave generator should not need any external driver to feed any ECU input. There are also constraints or qualifications posed by the OEM ecu which may not be present in aftermarket ECU inputs, for example megasquirt v2 is customizable in terms of input wave shape by turning various knobs and jumper settings but the resulting input selection format is not going to remotely resemble the OEM Ecu capability to recognize the reluctor due to differences in specificity of design (the OEM ecu only needs to recognize 1 specific sensor output so it can be more specific, whereas megasquirt is capable of taking almost any signal and using it by being more general and flexible which helps with ubiquitousness while sacrificing resolution and sensitivity.)

The simplest thing to in the case of sr20 is to spin a real CAS using an electric motor to generate your signal
Otherwise you would still want to spin the real cas disc and collect the wave form, then use that to generate your 'fake' wave (by comparing the artificial wave with the real thing at all possible voltages/rpms/temperatures you can verify the authenticity of the signal output)
In other words, if you spun the cas at 2000rpm 80*F and then 8000rpm and 120*F there could be a significant difference in the wave shape, which the OEM ecu may account for because these tests were done previously by the OEM manufacturers, leading to some phase adjustment or decisions about resonance, clipping, amplitude, etc... in the output signal wave form which the ECU will be expecting) - Those differences must be included to the artificial output. A great example of how important this is for the sr20det is the fact that AEM makes an aftermarket CAS disc, most likely because they could not figure out how to reliably input the OEM CAS disc data at high RPM to their ECU because of those differences in circuit design and programming we just covered which must not be included to the AEM computer specifically to decode a high resolution high rpm input from an OEM cas disc.

At this point I Recommend reading some of the older megasquirt manuals because they cover the wave form interception details and the basic differences in the shapes of common signals to get you started
Kingtal0n is offline   Reply With Quote
Reply

Bookmarks



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vB.Sponsors
Copyright ? 1998 - 2022, Zilvia.net