Personal page of Gabor Racz
I am a 26 yrs old programmer and electric technician, from Debrecen, Hungary. Currently, I am a leading programmer at a small company.
A small history
- June, 2003: First met with the MS-AVR
- November, 2003: GenBoard/VerTwo working in my friend's car (BMW 316i with self-made turbo assembly) - the unit drives only the injectors
- April, 2004: we received the first GenBoard/VerThree-s
- Long, long work at the treadmill... I have no time to improve anything on GenBoard. Sorry.
- January, 2005: Now I have a little time to the GenBoard! We have successfully tested the GenBoard/UnderDevelopment/StagedInjectors and our first WideBand sensor.
- February, 2005: Toothwheel and VR sensor on its place! Ignition is working with 2 Ford transformers in wasted spark mode. Thanks MembersPage/Fero!
- March, 2005:
Problem:
Soldered missing parts for the EGT, but after that, the LCD and keyboard are unusable when the engine is running. Both of them have got some 'extra' reset signals previously, but now the LEDs on the keyboard starts blinking randomly, not react to keypresses, and the LCD shows absolutely nothing, or a scrolling text. I think we need some capacitors to stabilize 14V power input. (a scope could be a big help...)
Q: Any help for solving the problem described above?
Tip: Check your grounds and supply. A supply capacitor cannot hurt, but it's likely a ground loop or disconnected ground.
Thanks! The problem solved by itself... This is one of the most annoying, mind-killer failures with no acceptable solution recipes. I think a small ball of soldering material shorted two pins of an IC temporarily.
Problem:
Sometimes the engine stops unexpectedly when idling. And possibly the same problem: the car sometimes 'hiccup' on constant TPS (same symptom as we give an extra squirt of fuel to the engine - or cut the fuel for a moment). I think this problem possibly reduced to the previous, but this one is not individual. Fero has the same thing.
Q: Any help for solving the problem described above?
Tip: Check your MAP signal in megatune "moving dot". If it jumps to max occasionally (eg. when it hiccups), you won't notice on LCD, but the moving dot can show.
Also pay attention to your VBATT, who knows (low reading can result in too high dwell, but that shouldn't give this symptom, except maybe with an external ignition amplifier)
More information: After the engine stops unexpectedly, the LCD shows 00312-00364 RPM for a massive amount of time (1-1.5 minutes).
Is there any sign of life after this? Serial port working? Fuel pump relay switching off 2.5 sec after engine stopped ? Does this happen after long uptimes (eg. 5 hours) or shorter uptimes too ?
Many thanks to MembersPage/MarcellGal who helped us a lot in our projects, and MembersPage/Fero who support us with experience, good ideas and an almost-ready v3.2.
TODOs: pictures and detailed descriptions, links to my webpages, plans...
- MembersPage/JörgenKarlsson: Gabor, I took a look at the ALS code. I can't verify the code itself but it seems like it does almost everything it should. A 'throttle bump solenoid' output is needed, could not find that in your code. This is used to somehow increase the throttle opening.
- MembersPage/GaborRacz: OK, I could add it to the firmware, but the switch used to activate the ALS can be used to turn on the throttle bump solenoid too. Or you can use a simple screw to permanently open the throttle in your racecar.
- What is the ballpark dimension for the opening suitable for ALS ? 10% of full-throttle opening ?
- The exact amount of constant throttle bumping is hardly depend on engine, size of the throttle valve and the idle target pressure. You can experiencing normally 8-20% of full throttle. VEMS should always show 0%! Note: this setup is intended for racecars only where the stable and silent idling is not necessary.
Not stable NBO2 readings?
I am testing our v3.0 boards on the table (with an old PC switching power supply), and noticed the O2 voltage (we plan to use NBO2 sensors) readings are changing frequently by the time, although i've hooked up a potentiometer to divide the 5V input for NERNST_CELL1 (EconoSeal III/18 - pin 13), and my DVM shows a stable value. See the [sample logfile (dead link)] for details. The DVM shows rock stable 213mV all time. All other sensor readings are also stable (such as TPS, MAP, MAT, CLT).
MembersPage/MarcellGal told me to check the 12V DC output voltage on my power supply, and check the AREF(62) pin on the AVR with scope. I have no oscilloscope yet. I've checked the requested pins with multimeter, AC voltage shows 0.0V (I know, this function is usable on higher voltages, and frequencies below 20kHz), and frequency measurement shows 'out of range' on the DC 12V, and 0.00kHz on the 5V DC (after the regulator) and on the AREF pin.
I've tried to stabilize the changing with a capacitor, and a 100n between the ADC1 and ground seems to be enough (on GenBoard/VerTwo there is a 220n) and solved our problem. R144 and C66 are soldered in, but they don't changed anything. I will test the board on a known-stable source (on a battery used in cars) to see if my PC power supply needs some stabilizing/filtering or the direct OPA-ADC connections need capacitors as an option (two SMDpads wouldn't hurt). Fortunately, a GND trace runs close to the R98 and R99 TODO: picture, and I was able to solder an SMD cap without a big shorting wire.
Someone has the same problem?
Yes I got the same problem.. Took a few pictures of measurering in and output on LM324: MembersPage/HansK/EgoReadingProblems
What is your ego_lag setting? I had to raise that to get a usable NBO2 reading.. not sure that its the correct solution though.. //Emil - ego_lag=15.. It did not stabilize the ratio-value, but I was trying without a sensor, just a potentiometer to divide 5V.. don't know if that should make a diffrent? HansK
Q: Is there any components missing around the LM324 (V3.2) that will cure this problem?
A: I have a workaround that solve our problem. You need a 100nF capacitor. Solder one of its its pins to the output trace of the LM324 (leads to the AVR's ADC1 input) and the other pin to a nearly GND trace. GaborRacz