Ok. Indeed, "dwell time regulation" is incorrect - oily oil
Second. I think, I can say "dwell regulation" because dwell depends on voltage. Why not?
p.s. I need to clarify that because I want to fix wrong names of variables, defines, comments in source code.
Coil regulation related schematic diagrams and issues
Moderator: STC
- STC
- LQFP144 - On Top Of The Game
- Posts: 2420
- Joined: Fri Oct 22, 2010 10:47 pm
- Location: Ukraine, Kiev
- Contact:
Re: Coil regulation related schematic diagrams and issues
Author of the SECU-3 project. SECU-3 Engine control unit / Ignition control system
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
Re: Coil regulation related schematic diagrams and issues
Regulation is something you do to something that would naturally be out of control. Society, voltage supply, etc. Dwell is defined, not regulated. Set, not regulated. etc. You choose it from the outset, it doesn't come at you going "I AM 15 milli seconds damn it!" and you fight it off and reduce/regulate it to 5ms, you just choose 5ms up front. Make sense? Again give me some examples, make use of the code box on the forum, paste comments here, etc. Once I fix a few, you'll likely understand what the right direction for others is.
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!
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!
- STC
- LQFP144 - On Top Of The Game
- Posts: 2420
- Joined: Fri Oct 22, 2010 10:47 pm
- Location: Ukraine, Kiev
- Contact:
Re: Coil regulation related schematic diagrams and issues
Code: Select all
#define COIL_REGULATION
Code: Select all
#ifdef COIL_REGULATION
volatile uint16_t cr_acc_time; //!< accumulation time for coil requlation (timer's ticks)
uint32_t acc_delay; //!< delay between last ignition and next accumulation
Author of the SECU-3 project. SECU-3 Engine control unit / Ignition control system
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
Re: Coil regulation related schematic diagrams and issues
Yes, dwell control could be OK depending upon the context.
I don't understand, though. SECU-3 is (primarily) an ignition controller. The two jobs of such a device are timing the ignition event and ensuring the coil is charged correctly by dwelling it for an appropriate time for the voltage supply level currently available. In that case, when you undefine COIL_REGULATION, what exactly is SECU-3 doing? Logging RPM and MAP? Surely it should _always_ be controlling dwell?
I don't understand, though. SECU-3 is (primarily) an ignition controller. The two jobs of such a device are timing the ignition event and ensuring the coil is charged correctly by dwelling it for an appropriate time for the voltage supply level currently available. In that case, when you undefine COIL_REGULATION, what exactly is SECU-3 doing? Logging RPM and MAP? Surely it should _always_ be controlling dwell?
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!
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!
- STC
- LQFP144 - On Top Of The Game
- Posts: 2420
- Joined: Fri Oct 22, 2010 10:47 pm
- Location: Ukraine, Kiev
- Contact:
Re: Coil regulation related schematic diagrams and issues
When I undefine COIL_REGULATION SECU-3 will generate fixed duty signal (some igniters accept such signal, e.g. igniters based on L497 IC). Another words, SECU-3 simulates Hall effect sensors in this mode . Also, some people use that mode for CDI
Ok. I will rename COIL_REGULATION to DWELL_CONTROL and so on
Ok. I will rename COIL_REGULATION to DWELL_CONTROL and so on
Author of the SECU-3 project. SECU-3 Engine control unit / Ignition control system
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
Re: Coil regulation related schematic diagrams and issues
OK, in that case you should probably label the define as FIXED_DUTY_DWELL instead. That's just my opinion, though. I think code should tell you what it does with minimal comments :-)
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!
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!
- STC
- LQFP144 - On Top Of The Game
- Posts: 2420
- Joined: Fri Oct 22, 2010 10:47 pm
- Location: Ukraine, Kiev
- Contact:
Re: Coil regulation related schematic diagrams and issues
I tested following schema:
Сurrent limitting:
Сurrent limitting:
Author of the SECU-3 project. SECU-3 Engine control unit / Ignition control system
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook
SECU-3.org (Русский)
SECU-3.org (English)
SECU-3 Club ВКонтакте
SECU-3 EMS Project Facebook