Another dropped cranking RPM

This forum is for discussing ignition setup, tuning, and troubleshooting for MicroSquirt (TM)
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Bruce Bowling
Site Admin
Posts: 285
Joined: Mon Feb 16, 2004 4:25 pm
Location: Baltimore, MD

Post by Bruce Bowling »

geoffct wrote:Thanks for the tips Bruce, I think I may simply replace that 100k with 47k. One of the team members does smd rework everyday, so swapping resistors is nothing at all. Could we go lower than 47k ohm?

Also could you verify which resistor I need to replace on this diagram? I thought you were referring to R54, but that is already listed as 47k. Are these the latest schematics?
Thanks Again,
Geoff
Yes, it is R54. You can go lower than 47K but this will lead to even more negative voltage for the hysteresis reset. If you want to go low, you can do 10K or even lower. With your waveforms I think you will still be OK during cranking.

- Bruce
geoffct
Helpful Squirter
Posts: 56
Joined: Thu Jan 12, 2006 4:58 pm

Post by geoffct »

Thanks Bruce, will do. I think I will just step it down until things clean up.

Geoff
geoffct
Helpful Squirter
Posts: 56
Joined: Thu Jan 12, 2006 4:58 pm

Post by geoffct »

Well, the hysteresis resistor worked... sort of we are now running about 13kohms, and read rpms consistently while cranking, but we loose those rpms as soon as the engine kicks over. We initially thought this was a fuel or spark issue, but the rpms drop to zero.

On the scope we don't appear to have any erroneous teeth, but they would only appear on the stutter, so accordingly they would be hard to see. I have searched a lot and haven't seen anything.

Would a log file be helpful at this point?

Thanks
Geoff
grippo
MegaSquirt Guru
Posts: 921
Joined: Mon Feb 16, 2004 6:55 pm

Post by grippo »

Geoff,

Can you try the attached code. What this code does is similar to the % mask with a coil ignition, where any tach inputs < x% od time between tach inputs are thrown out - to get rid of coil ringing. Your VR input is somewhat similar based on your scope shot, except there is only one tiny ring. But in this case the code throws out any "tooth input" that comes in sooner than PulseTol % of teh last time between teeth. The base code has always done this, but only for 1 or 2 consecutive teeth - then it declares lost synch. The attached code keeps doing it no matter how often it happens. If this works we will put it in as an official option. To best use this set all 3 of the PulseTols (crank, after start and normal running) to 50 %. You can then tune from there. You don't have to change your ini or msq as it is the same as the latest 2.883j except for the change I mentioned.
Attachments
Monitor_v2.883jt1.abs.zip
(37.33 KiB) Downloaded 43 times
geoffct
Helpful Squirter
Posts: 56
Joined: Thu Jan 12, 2006 4:58 pm

Post by geoffct »

I am still not running. The tach works fine while cranking, but once it kicks over and starts to run under gasoline power, we lose tach (reads zero rpms momentarily) and it stalls back into cranking.

I am really lost. It doesn't appear to be a crank signal conditioning issue any more. Could it be a software config issue? I have tried adjusting the next pulse tolerance, but to no success.

Is there a way to log exactly what the uS is "thinking"? I would like to write to the log file when it sees a pulse too soon, or misses one, etc.

I appreciate any help and guidance, but I must admit that if I cannot solve this issue in the next week or so I will have to abandon my use of microsquirt in favor of another ECU.

Thanks,
Geoff
Bernard Fife
Super Squirter
Posts: 1009
Joined: Mon Feb 16, 2004 3:15 pm

Post by Bernard Fife »

Geoff,

The latest code/INI logs/displays:

- deltaT: the time delta (interval) between rpm pulses in microseconds.

- trigger±: The code for toothed wheels checks for missing or extra teeth and handles them if they occur, but only allows one or 2 corrections in a row. More than this and it re-synchs. This will tell users when they have noise or weak signal issues.

- tachCount: counts tach pulses for use in correlating datalog values with tach pulses (at lo rpm).

These might be what you are lookng for. They are standard in the datalogs for 2.883j code.

Lance.
Bruce Bowling
Site Admin
Posts: 285
Joined: Mon Feb 16, 2004 4:25 pm
Location: Baltimore, MD

Post by Bruce Bowling »

Lance wrote:Geoff,

The latest code/INI logs/displays:

- deltaT: the time delta (interval) between rpm pulses in microseconds.

- trigger±: The code for toothed wheels checks for missing or extra teeth and handles them if they occur, but only allows one or 2 corrections in a row. More than this and it re-synchs. This will tell users when they have noise or weak signal issues.

- tachCount: counts tach pulses for use in correlating datalog values with tach pulses (at lo rpm).

These might be what you are lookng for. They are standard in the datalogs for 2.883j code.

Lance.
Lance is correct. Especially the trigger± variable, this is a real indicator of incorrect sync...

- Bruce
geoffct
Helpful Squirter
Posts: 56
Joined: Thu Jan 12, 2006 4:58 pm

Post by geoffct »

Disregard this post, well most of it, I had a bit of a configuration issue.



Sorry for the delay, but I have started work on another ECU option. I couldn't find the tachcount display, nor could I see the Trigger+/- in the logs, but the delta T is working.

The Trigger+/- display, never registers an extra or missing pulse except on blipped start switch (normal I would expect)

I created a log file so you can see what I can see.... I would love to have made some "misinformed person" mistake, but I don't see it here.

Thanks Again,
Geoff
Last edited by geoffct on Mon Mar 24, 2008 3:17 pm, edited 1 time in total.
geoffct
Helpful Squirter
Posts: 56
Joined: Thu Jan 12, 2006 4:58 pm

Post by geoffct »

I just looked over my log file and it is still claiming 2.88000 and it should read 2.883+ right?
geoffct
Helpful Squirter
Posts: 56
Joined: Thu Jan 12, 2006 4:58 pm

Post by geoffct »

With the correct 2.883 config file... I had some intermediate between 2.88 and 2.883 (Trigger+/- was called Spare3), which did not log these values.

Accordingly I have created two log files, one cranking without fuel....1812.xls
and a second one with my just outside starting....1813.xls

Thanks,
Geoff
Attachments
datalog200803241813.xls
Fueled Cranking / Stutter
(64.66 KiB) Downloaded 42 times
datalog200803241812.xls
No Fuel Cranking
(54.37 KiB) Downloaded 40 times
Post Reply