Hyundai Hall Effect Distributor SOHC 4g63 1988

For discussing and developing different RPM/Position decoders using our superior modular architecture! One thread per pattern, please.
Post Reply
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Hyundai Hall Effect Distributor SOHC 4g63 1988

Post by Fred »

I started this as a quick hack, but because we can run an infinite number of decoders in FreeEMS, I may as well leave it in and maintain it along with the others.

As of tonight, it works, but like the 4and1 decoder, it requires more work.
  • gain and lose combustion sync based on timing between events, always do this, set sync found on var
  • save state and use flags to only check and do calcs if good
  • verify the angles that I used for high/low
  • add good documentation to the source and upload any logs/information/pics
  • Make it configurable which edge the sampling and RPM are done on (not both) (same mod for mitsi 4and1 decoder) (always do it on second event to start quicker)
  • Make it configurable to do batch injection too and/or not do ignition
I'd like to get the first 3 done tomorrow and a bunch of good debug pumped out of it, along with wiring the box into the car better.

Not to do with the decoder, but related:
  • Make sure the engine offset angle is correct
  • Look at correct dwell levels for this setup.
  • Think about implementing dwell limiting via existing curve
  • Think about refactoring to 1/10 degree units
  • Think about splitting out code chunks for reuse across decoders (ADC, RPM, setup, noise checking
  • Investigate the 2.5degree timing step visible on the light (could be on/off angle wrongness and sched jumping between teeth)
  • Consider trying to use a jap coil instead of the tin can, and ditch the ballast resistor too.
If anyone knows what else these exact units were used in, please post here!

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply