History of MembersPage/EricN/Trigger
Older Newer
2006-05-11 11:59:39 . . . . EricN [cleaned, organized]
2006-05-11 11:41:47 . . . . EricN [started cleaning up]
2006-04-19 06:32:04 . . . . MembersPage/MarcellGal [template to fill]
2006-04-19 05:31:12 . . . . ErtcN [added new page]
2006-04-19 04:10:06 . . . . MembersPage/MarcellGal [let's see step 0. is it VR setup or HALL ?]
2006-04-18 21:15:26 . . . . ErtcN [More on trigger issue, does terminal log file show signal dropping out?]
2006-04-18 15:41:39 . . . . MembersPage/MarcellGal [formatted log. Seems like no missing tooth.hints]
2006-04-16 23:50:17 . . . . EricN [Tried adding Terminal log link again, still cant make it readable myself]
2006-04-16 16:22:33 . . . . MembersPage/MarcellGal [warned about filename. Upload the binary "terminal.log"]
2006-04-15 23:08:06 . . . . ErtcN [Trying to log and read my input trigger using the mde40 command. PLease help get]
2006-04-12 06:28:13 . . . . EricN [Attempted to add trigger log file, I still suck at making it readable.]
2006-04-12 03:38:14 . . . . MembersPage/MarcellGal [upload file, not paste]
2006-04-11 22:54:25 . . . . EricN [added trigger log, need help converting it to that table]
2006-04-11 17:50:59 . . . . MembersPage/MarcellGal [triggerlog would provide more insight]
2006-04-11 17:39:52 . . . . MembersPage/MarcellGal [no good guess at this point.]
2006-04-08 11:50:38 . . . . EricN [megatune dump as requested, other info too, tried other hints, no better]
2006-04-07 16:57:40 . . . . MembersPage/MarcellGal [hints to look for]
2006-04-06 10:52:39 . . . . EricN [trigger looks clean at pin 29, more clean up]
2006-04-05 11:32:29 . . . . EricN [tried different signal generater, ecu cuts out with that.]
2006-04-04 04:10:44 . . . . EricN [not sure if I am doing something wrong with signalgen,]
2006-04-03 09:49:54 . . . . EricN [Optical input trigger fails the same as VR signal,]
2006-04-02 07:52:00 . . . . d64-180-244-212.bchsia.telus.net [cleaned]
2006-04-02 07:40:45 . . . . d64-180-244-212.bchsia.telus.net [added pages, cleaning]
2006-04-02 06:56:26 . . . . MembersPage/MarcellGal [primary trigger pullup might be the problem; hints]
2006-04-01 08:21:37 . . . . EricN [Gave up on VR, trying optical, NEED guidance pls.]
2006-04-01 04:54:44 . . . . EricN [Trying optical trigger, have questions.]
2006-03-16 04:43:08 . . . . EricN [attempted more fixes, found that many more ways to fail.]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [tried a weak pullup on VR ?]
2006-03-16 04:43:08 . . . . EricN [More failed attempts at fixing the input trigger drop out, some clean up]
2006-03-16 04:43:08 . . . . EricN [cleaned, minor update]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [possible cause of trigger problem]
2006-03-16 04:43:08 . . . . EricN [cleaned, updated]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [0.2Ohm should be fine]
2006-03-16 04:43:08 . . . . d64-180-234-1.bchsia.telus.net [What resistance (if any) should there be between gnd and gnd5]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [Canada, not Sweden]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [C38]
2006-03-16 04:43:08 . . . . EricN [Rescue kit destroyed, can I use a ceramic throughhole cap for now?]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [2 likely causes of trouble]
2006-03-16 04:43:08 . . . . d64-180-234-1.bchsia.telus.net [Did everything, problem worse, ripping it apart again]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [checklist for v3.2 VR trigger and RPM constant notes]
2006-03-16 04:43:08 . . . . s64-180-101-160.bc.hsia.telus.net [Tach incorrect, Pic of board, tapping engine causes trigger, still cant fix trig]
2006-03-16 04:43:08 . . . . EricN [Pic of board, tapping engine causes trigger, still cant fix trigger issue]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [minimum time is at maximum RPM; mda.. works as documented]
2006-03-16 04:43:08 . . . . d64-180-234-1.bchsia.telus.net [May be on to something, crank_minper q and reasked mda q]
2006-03-16 04:43:08 . . . . d64-180-234-1.bchsia.telus.net [answered some Q. pics on the way, would really like to fix this]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [note for v3.2 : GND, LM1815 photo, ...]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [adaptive hysteresis and HALL input threshold notes]
2006-03-16 04:43:08 . . . . EricN [Does an optical trigger connect the same as the Hall??]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [think again the basics: 24-1 on __CAM__ (not crank)]
2006-03-16 04:43:08 . . . . MembersPage/MarcellGal [start again: thing again the basics (cam-mounted wheel!!)]
2006-03-16 04:43:08 . . . . d64-180-234-1.bchsia.telus.net [where is the trigger error readout on lcd? added some info]
2006-03-16 04:43:08 . . . . EricN [where is the trigger error readout on lcd? added some info]
2006-03-16 04:43:08 . . . . 92.net100.skekraft.net [trigger noise problem]
2006-03-16 04:43:08 . . . . EricN [Input trigger dies for a split second, any help?]
2006-03-16 04:43:08 . . . . EricN [added pic of trigger, why 2 and 5 for spares?]
2005-08-23 16:05:00 . . . . MembersPage/MarcellGal [config hint]
2005-08-22 12:45:36 . . . . EricN [New trigger plans]
2005-07-28 06:33:45 . . . . MembersPage/MarcellGal [trigger cleanup and answers]


Changes by last author:

Changed:
truck is a 6 cyl. I am firing cop coils and using a distributer mounted trigger wheel. Tooth count is dependent on what sensor I get working
truck is a 6 cyl. I am firing cop coils and using a distributer mounted trigger wheel. Tooth count 12-1
Added:
Trying an optical trigger now, followed instructions for Hall sensor on primary trigger as per manual. Seems to trigger properly.

Picked up an OPB804 optical switch. Built it into this little circuit that I found on the internet opticaltrigger.JPG

Changed the 1k resister to 100ohm, voltage at led is 1.25v to gnd (normal for an infrared LED). Using pullup on vems

signal high (beam blocked) is 4.6V (good, since it goes higher than 2V)

low is .25V to gnd (good, since it goes under 0.6V)

Deleted:
Going to try this for now.

*so much for that idea.

Changed:
MembersPage/EricN/Trigger/Vr

This page hopefully all garbage. I cant get the input trigger to stop cutting out (happens at any rpm all the way to redline) no matter what I try.

Deleted:
----

OPTICAL TRIGGER DROPS OUT LIKE VR DOES

Built an optical trigger. 6 teeth, set to coil type ignition. Use rising or falling edge makes no difference. Use filtering or not, makes no difference. Trigger drops out at any rpm (tested up to 4000) is worse at low speed. Loose fuel pump, injectors and ign.

Used signal generater, run at 250 to 500 rpm according to lcd. Fuel relay cuts out in the same manner. Tested signal at atmega128 pin 29, looks clean.

Is there anything config related that could cause vems to cut out? Keeping in mind the test bench has no sensors hooked up at all, just a input trigger and fuel pump relay.

* fuelcut_min_kpa-0

* fuelcut_max_kpa-ff

* TPS > 60% (at cranking, that is RPM / 100 <= cranking_thres )

* firmware version ? an upgrade might help

**1.0.23, I have used every single version since 1.0.14 and it is identical.

* MegaTune log could help

http://www.vems.hu/files/EricN/datalog200604072201.xls

** strange format (not xls). However, it can be opened as tab separated csv (just some numbers show as dates). Perfer real xls format.

***Odd, it works fine for me. Will do another and repost.

** it can be verified that RPM drops to 0 immediately in 2 cases (first it's just one line! stays that way on the second occasion) Trigger dropped out at least 10 times, only 1 showed up, second occasion was me letting go of the drill before disabling the log, signal drop is extremely quick. Time does not fall back or advance. It's unlikely to be comm error. Engine state changes from 3 to 0 at the same time. Wheel error =0?

* mcd,mct (always needed to reproduce):

**[mtt and mcd]

* are the GND and (at least 3) GND5 signals all connected ?

***2 GND and 4 GND5 wires, only load is the fuel pump relay running on an injfet channel.

* InputTrigger/TriggerLog could provide more insight into the pattern the ECU sees (problem at missing tooth, or random).

**http://www.vems.hu/filethingie.php?subdir=EricN I cant understand why I am not able to make this readable and I am at my wits end. I cant even attach a link other than this one. It is terminal.log. The megatune datalog from before is there too, see if I screwed up somehow when I attached the link before.

----

Upgraded to 1.0.36, it didnt seem to work right, lots of megatune errors but I tried it anyways, trigger problem the same. Found the oldest possible megatune/firmware package (r14 I think) tried it, problem is way worse but I think that was something else. Finally settled on the megatune package with 1.0.30, problem the same. Only thing I was hoping to accomplish was to trash the config so it would make everything gone and I could start from scratch. I wrote down all my config variables on a peice of paper, erased every possible place that I have it saved on my computer and the stupid thing still gets loaded into the controller somehow. I upload the firmware using Avr studio 4, since the batch programs that come with the release just say "no hello from controller, click any key to continue"

Trying to log and read my input trigger using the mde40 command.

1. In the terminal program click "start log" selected the file name as the default "terminal".

2. Type Man then mde40.

3. Start spinning trigger wheel, odd looking characters and symbols start running across the Terminal program screen.

4. Stop spinning trigger wheel, click "end log" in terminal program.

I assume that is correct so far, now how do i make it look like something? If I just double click on the terminal.log file, it opens in notepad and shows some dates then shows the exact same characters I saw in the terminal program.

* need to run perl bin/binary.pl < toothtimes.bin > toothtimes.txt

** but I just get a message saying cant find file: which file ? If you saved to terminal.log, use terminal.log not toothtimes.bin !

* I substitute all the "toothtimes" text for "terminal" but get the same message.

** watch out for the extension. Turn on "view extension" otherwise it's easy to make files like whatever.bin.log or similar. Verify with dir command before you run the perl bin/....

** why don't you upload terminal.log (file manager at DocsPage bottom)? We can easily format it for you and check how it goes

I navigate to that folder through the command prompt, and type it again, it still says it cant find the file.

I have saved the log file in the file thingy under EricN>terminal.log

----

I now get an error that says "cannot open perl script "bin/binary.pl": No such file or directory. I do end up with a file called toothtimes.txt but it is empty.

* do it from the right directory (same dir as the firmware). Search for binary.pl. (and go up one dir so bin/binary.pl will work)

* See the terminal.log below: perl /svn/firmware/firmware/trunk/bin/binary.pl <terminal.log >terminal.txt

the terminal.log file is in the file thingy, under EricN. I try and click it to attach the link but it just opens as a file with all the garbled characters

Tried something else to attach the link, see if the next one works.

* http://www.vems.hu/files/EricN/datalog200604072201.xls

* http://www.vems.hu/files/EricN/terminal.log

** the same formatted: http://www.vems.hu/files/MembersPage/EricN/terminal.txt From position 134, it seems that times are 4000 .. 16000 (*4 usec) but there are no missing tooth in this (looks like a coil-type trigger with 3 pulses per crank rotation, 4000 * 4 usec = 16000 usec = 16 msec => 60000 / 48 = 1250 RPM at max, does this look right for when the mde40 log was captured ?)

***Trigger is currently only 6 slots attached to distributer as stated above, no missing tooth, set as coil type ignition. 1250rpm sounds like the max rpm I would have been up to.

Note that it's basically impossible to tell from the above (=> chance_to_help=0) how you configured your trigger (you assembled the board yourself, right?). It's probably something small like R181 missing (HALL-pullup too weak, etc) or similar, but it's important to go back to step 0 and check the trigger HW configuration if it's cutting out.

*Board is assembled myself. First assembled with a vr primary trigger, problem was present. Did all the mods suggested to make it work (this is the important thing, it needs to be checked again. Make an exact list of all the parts at the trigger section, near LM1815 chip, preferrably take pics too!) but nothing changed the way it dropped out. Changed to optical trigger to get rid of vr circuit, problem the same. I will go through the board again and try to find a bad solder joint somewhere.

* As for bad pullup, I get almost 5V at the trigger wire without anything attached if that means anything. Also get 5.02V at the jumper with no sensor connected.

** it's hard to tell if you're using VR or HALL hardware setup now (this would be the most basic thing to start with). Really, start an empty page, and write everything, component by component you have there at the time of the measurement. Preferrably also measure at the shorted jumper (because that's what the processor sees. The input has at least some protecting resistors where there can be voltage drop of interest).

** also meausure with a known (eg. 510 Ohm or 1k) resistor between input and GND

* So I assume that there is no indication of the trigger signal disappearing in that mde40 produced file?

** only at the beginning and the end, which can be normal

----

Trigger HW setup template

Details like "made according to instructions" are useless. Really. It doesn't worth writing again and again because it just doesn't allow anyone to find out how your setup is different from other's who have it working (after following "the instructions").

Confirm (or correct) every step (snippet from GenBoard/Manual/InputTriggerHardWare). Values actually used and exact measurements are needed to see what can be wrong. Picture helps too

v3.2 (trig1) primary trigger=HALL

* solder JP2 & JP7: this is the top right of the 2x3 header; red on the [image]

short SJ2

* do NOT short SJ6 (remove the blob if there)

R30=2k7 pullup resistor (2k .. 4.7k). Note that 10k is a bit too high

* remove R56(=10k, next to SJ2). This is not strictly necessary if R30 is 4k7 or lower.

* measure DC voltage between SJ2 and GND (with board powered, but HALL sensor not connected or inactive): must be higher than 3V