Search found 35 matches

by Dial0
Mon Aug 08, 2016 11:52 pm
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock #21

ahh I think I understand more so what is going on now. With the two tables you are trying to make sure the ISR isn't reading the same table the fuel calc might be modifying. Incase the ISR is called in the middle of the fuel calc function? Where is your code is the scheduler ISR? I am assuming that ...
by Dial0
Mon Aug 08, 2016 9:35 pm
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock #21

In reply to Tom, If there are output events missing, its almost certain to be a hardware/firmware issue. If the tune was incorrect, the outputs would still happen, just the engine would not respond well to those outputs (spark at the wrong time, not enough duty cycle on the fuel injector causing a m...
by Dial0
Mon Aug 08, 2016 9:26 pm
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock #21

Is there a way to confirm that all the events in the fuel schedule have been processed before you switch tables? Maybe the fuel and spark schedule should be concurrent queue data types? If we assume a 4 cylinder engine, every engine cycle 4 new spark event and 4 new fuel events will be loaded into a...
by Dial0
Wed Jul 13, 2016 7:10 am
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock #21

Ah damn it! The problem persists. Wonder if we should start a separate thread for this missing injector pulse issue? I had a look in the code to see if I could see anything obvious... In handleFuelInjectionEvent() there are a couple of error catches Where do these warning get displayed/logged? Is it...
by Dial0
Thu Jun 30, 2016 9:08 am
Forum: You and your build
Topic: Project EcoBoost Smurf (Miata NA) #19
Replies: 78
Views: 51392

Re: Project EcoBoost Smurf (Miata NA) #19

Sorry if this is a dumb suggestion, I haven't had time to look at the code in detail. Correct me if I am wrong but the fueling schedule is calculated once per engine cycle (720 degrees)? I am assuming that the injection pulse is fixed to finish at the same engine position, and as more fuel is requir...
by Dial0
Mon Jun 27, 2016 4:07 am
Forum: You and your build
Topic: Hunchback 1991 Miata NA/NB2 rusEfi official racecar #20
Replies: 215
Views: 303320

Re: 1991 Miata #20 Hunchback

Nice.

What was the issue / what change did you make?
by Dial0
Fri Jun 24, 2016 8:25 pm
Forum: You and your build
Topic: Hello form Puerto Rico
Replies: 17
Views: 12046

Re: Hello form Puerto Rico

I don't think there is a VVTi position sensor, I wonder if he meant PWM to control VVTi not PID. Looks like this engine has crank position sensor and two camshaft position sensors - one on each cam. Exhaust is not variable, intake is variable - the shift between cam sensors is the way to know VVTi ...
by Dial0
Fri Jun 24, 2016 11:47 am
Forum: You and your build
Topic: Hello form Puerto Rico
Replies: 17
Views: 12046

Re: Hello form Puerto Rico

How does VVTi position sensor work - is it just a potentiometer like TPS or something more complicated? Looks like only the intake cam is variable on this engine? http://www.2jzgarage.com/2012/02/2jzgte-vvti-information/ I don't think there is a VVTi position sensor, I wonder if he meant PWM to con...
by Dial0
Thu Jun 23, 2016 11:00 pm
Forum: You and your build
Topic: Project EcoBoost Smurf (Miata NA) #19
Replies: 78
Views: 51392

Re: Project EcoBoost Smurf (Miata NA) #19

Yeah I noticed that the 14point7 stuff doesn't throw up errors when the sensor is faulty, it just give weird readings. Which can be confusing, as you don't know if the problem is with the controller or the sensor.
by Dial0
Thu Jun 23, 2016 10:08 pm
Forum: Dev: Software
Topic: wild (?) idle oscillation
Replies: 2
Views: 3243

Re: wild (?) idle oscillation

I can't offer much help with tuning the idle fuel. I think the oscillations are very likely caused by the wandering ignition timing. On a 4age, the tps has a fully closed switch, when that switch is closed at idle, the ignition timing is fixed at something like 8 degrees. Often times people mess wit...
by Dial0
Thu Jun 23, 2016 9:57 pm
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock #21

Hmm interesting, would be good to see throttle position as well as the ignition timing angle in the video. There isn't any sync loss with the crank trigger? If its possible it would be great to have a graph of engine acceleration. That way any negative spikes in that graph would correlate to a missf...
by Dial0
Wed Jun 22, 2016 5:19 am
Forum: Dev: Software
Topic: Closed-loop fuel control (both short term and long term)
Replies: 22
Views: 17266

Re: Closed-loop fuel control

I think relying on an external WBO controller is fine. It allows the users the most flexibility. How are you planning to do the closed loop control? I know OEM ecus now use trim tables, which are load against rpm, and a -/+ % of trim for the fuel injectors. They normally have a long term trim table ...
by Dial0
Fri Jun 17, 2016 4:30 am
Forum: Dev: Software
Topic: hip9011 integration
Replies: 116
Views: 89212

Re: hip9011 integration

How far did you get with the knock sensor chip? I see that you have it outputting an analog voltage, but it looks like you are stuck trying to find out how to set the RPM against Knock threshold curve, to check it is working? I found some interesting resources that might be of help, as this is some...
by Dial0
Fri Jun 17, 2016 12:19 am
Forum: Dev: Software
Topic: hip9011 integration
Replies: 116
Views: 89212

Re: hip9011 integration

OK right, I am interested in having a play around with it, Sorry if its been mentioned, but is it possible to datalog the integrator output against rpm? My plan would be to set the timing to something conservative and use the data logging to setup the threshold table. Then slowly advance the timing ...
by Dial0
Fri Jun 17, 2016 12:01 am
Forum: Dev: Software
Topic: hip9011 integration
Replies: 116
Views: 89212

Re: hip9011 integration

How far did you get with the knock sensor chip? I see that you have it outputting an analog voltage, but it looks like you are stuck trying to find out how to set the RPM against Knock threshold curve, to check it is working? I found some interesting resources that might be of help, as this is somet...
by Dial0
Thu Jun 16, 2016 7:16 am
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock #21

Sweet, good work!

Did you do the same as russian and use the stock ecu to warm up the engine? or were you able to start it from cold?
by Dial0
Wed Jun 15, 2016 2:19 am
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock

Looks like the AFM fuel pump switch is purely mechanical. So the ecu shouldn't effect it. It really sounds like the fuel pump isn't running when cranking from what you described. You manually activate the fuel pump by opening the vane. It builds up a bit of fuel pressure in the rails. Then you crank...
by Dial0
Tue Jun 14, 2016 3:37 am
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock

For the sake of testing I would confirm the fuel pump is running. If you can't hear it run when you are cranking I would run a 12v feed directly to it, just to rule that out as an issue. I had a quick Google and found a write up about replacing the afm with a map sensor. This might be of interest: N...
by Dial0
Mon Jun 13, 2016 8:22 pm
Forum: Dev: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 552
Views: 569979

Re: Frankenso - ECU shield compatible with OEM case

Awesome! Glad we got a solution. I agree with kb1gtt on the external pull down and current limiting resistor. We kinda have solved a hardware issue with software. I think the only reason to use the internal pull down would be to save board space or reduce cost, and I don't think either of those are ...
by Dial0
Mon Jun 13, 2016 4:06 am
Forum: Dev: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 552
Views: 569979

Re: Frankenso - ECU shield compatible with OEM case

My Suggestion would be to set up the pins connected to the TC4427's as: VAL_GPIOI_MODER PIN_MODE_INPUT(GPIOI_PIN14) VAL_GPIOI_OTYPER PIN_OTYPE_PUSHPULL(GPIOI_PIN14) VAL_GPIOI_OSPEEDR PIN_OSPEED_100M(GPIOI_PIN14) VAL_GPIOI_PUPDR PIN_PUPDR_PULLDOWN(GPIOE_PIN14) VAL_GPIOI_ODR PIN_ODR_HIGH(GPIOI_PIN0) T...
by Dial0
Mon Jun 13, 2016 3:52 am
Forum: Dev: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 552
Views: 569979

Re: Frankenso - ECU shield compatible with OEM case

I am not able to test this in hardware right now. However looking at the files, there are a few things I am not sure about In the board patch file. Just to clarify whats been changed. PCMLK(PC7?) and PC9 have been changed to an output. PCMLK(PC7?) is set to floating output. PC9 is changed from a pul...
by Dial0
Mon Jun 13, 2016 2:56 am
Forum: You and your build
Topic: Hi Everyone
Replies: 12
Views: 8503

Re: Hi Everyone

Yeah I can have a look, not familiar with the STM32 that much though.

Any chance you can post the config that caused all 6 to to blink at the same time?
by Dial0
Mon Jun 13, 2016 2:11 am
Forum: Dev: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 552
Views: 569979

Re: Frankenso - ECU shield compatible with OEM case

You are talking about the TC4427? Looking at the datasheet the input looks like a mosfet. What I think could be happening is that mosfet gate is charging and discharging, because all the high side input traces run parallel so the other input traces have a tiny current induced in them from the signal...
by Dial0
Mon Jun 13, 2016 1:41 am
Forum: You and your build
Topic: Miata NA 1990, 1.6L stock #21
Replies: 378
Views: 237462

Re: Miata NA 1990, 1.6L stock

If you are checking to see if you are getting fuel to the cylinders.
You can crank it over some, and then take out a spark plug and check if it is wet and if you can smell fuel.
by Dial0
Sun Jun 12, 2016 12:42 am
Forum: You and your build
Topic: Dial0's Projects
Replies: 9
Views: 7699

Re: Dial0's Projects

Cheers kb1gtt, is that 0.125amps per channel or total per chip? I also noticed they do not have any pull down/ pull up resistors on their input, do they have an internal pull down? I couldn't find anything in the data sheet. I just worry that before the MCU has initialized the output pins, the input...
by Dial0
Sat Jun 11, 2016 10:11 am
Forum: You and your build
Topic: Dial0's Projects
Replies: 9
Views: 7699

Re: Dial0's Projects

Thanks Thommm, I should have said pad instead of pin. I was able to work out the pin 1 on the package but I wasn't sure what was pin 1 on the foot print as there is maybe a tiny dot on the silk screen. I down loaded kicad and confirmed it is that orientation though. The technique you mention about s...
by Dial0
Sat Jun 11, 2016 5:19 am
Forum: You and your build
Topic: Dial0's Projects
Replies: 9
Views: 7699

Re: Dial0's Projects

From the wiki: C354 & C358 are 4.7uF They are parallel with the decoupling caps. Also a quick question about the TC4427 High side drivers, the pcb foot print has a thermal pad, but the IC's do not. Is the thermal pad just a precaution? Also is this the correct orientation? TC4427.PNG It looks li...
by Dial0
Sat Jun 11, 2016 4:37 am
Forum: You and your build
Topic: Dial0's Projects
Replies: 9
Views: 7699

Dial0's Projects

Hi everyone, I am putting together a Frankenstein board to play around with. I started on it today, following the instructions on the wiki. However I ran into a little bit of an issue. I ordered the kit with the cap/res pack but it doesn't seem to include the 4.7uF or the 10uF caps? Are these necess...
by Dial0
Mon May 02, 2016 10:13 am
Forum: Dev: Software
Topic: Dual Map Tables
Replies: 13
Views: 10638

Re: Dual Map Tables

What would be the difference between the power tune and the economy tune?
You should be able to achieve both with a single table, without sacrificing the other.

Dual maps are generally for different fuels, high octane fuel tune vs lower octane fuel tune for example
by Dial0
Sun May 01, 2016 10:52 pm
Forum: Dev: Software
Topic: Dual Map Tables
Replies: 13
Views: 10638

Re: Dual Map Tables

I am sure you already know this, but you can move all the static strings from ram to flash, and that would free up a lot of ram.