Search found 136 matches

by spags
Sat Jan 10, 2015 5:00 pm
Forum: Misc
Topic: EFI+Machine Learning+Linux+Raspbery Pi = ?
Replies: 3
Views: 4300

EFI+Machine Learning+Linux+Raspbery Pi = ?

[video][/video]

While the feat itself is impressive. What gets me is the lab, where do I have to work to get toys like that?
by spags
Mon Jan 05, 2015 2:39 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Yeah sounds like a good idea. This is a small todo list of things that I'll be doing. Open to suggestions. MIL - Remove the debugging debugging errors on init. And replace with something like milbench. For the short term this is going to have to go on the ignition_central.cpp file since that's where...
by spags
Mon Jan 05, 2015 12:33 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

I have not made my mind really, but I am kind of tempted to suggest FSIO for TEN implementation. I suggest timingMultiplier and timindAdditive, which would be multiplier=1 and additive=0 by default, while TEN would make them multiplier=0 and additive=10, and suddenly you 10 degrees timing. Actually...
by spags
Sun Jan 04, 2015 11:21 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Ok, just added the VSS line, used a 1k pullup. According to speedinfo its counting events on the bench, so that works. TEN and the MAP lines will have to wait until next week.... 1k to 10k should be good. I seem to recall there are internal 10k's that can be activated, so you might not need to add a...
by spags
Sun Jan 04, 2015 8:10 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

No dependencies, tiny independent java project. ^ That statement made me giggle a bit. Seriously though, the readme didn't document how to build it and a after a quick look it seems to have needed an IDE to build. Anyway, that pin is already there - it's called LED_CHECK_ENGINE ^ Indeed it is is si...
by spags
Sun Jan 04, 2015 4:16 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Some progress and questions. 1) MIL light is tested to work by grounding the ecu side, so I've wired it up to a low-side driver. Questions: - Is there a way to activate a low side pin from the dev console without having to write any control logic? Just want to test that the hardware can do it. - I s...
by spags
Sat Jan 03, 2015 2:40 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Ok, update on hardware modifications. Nothing is connected but I have more information on how things work. - MAP sensor, wire is connected to the ADC channel to be used. Sensor should be getting here tomorrow will validate with board before installing on car. There is one more free hole in the ecu c...
by spags
Thu Jan 01, 2015 7:43 pm
Forum: Misc
Topic: rusefi llc
Replies: 1
Views: 3073

Re: rusefi llc

I for one think it's a step in the right direction.
by spags
Thu Jan 01, 2015 4:47 pm
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

I've merged a tiny part of the change - the trivial part. The rest would become the most significant source code contribution in a while which raises the question http://rusefi.com/forum/viewtopic.php?f=13&t=325 so I will call you. Ok, cool. I'm not working today so feel free to call anytime. T...
by spags
Tue Dec 30, 2014 2:04 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Ok. I'm giving up on MAF, joining the SD bandwagon. After seeing russian's neon run and what is required to calculate engine load with MAF. Ah fuck it... I'll give in to the simple pleasures of SD, intake's coming off anyways. So.. this means modifying the board and while I'm at it I might as well a...
by spags
Mon Dec 29, 2014 1:54 am
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

Ok, update and as promised.. video. [video]http://youtu.be/ckS3BddpJt0[/video] What it can do: - Adjusts to normal loads such as using the brakes and turning on the lights. - Does not crash when coming off the throttle (mostly... see special case below). - Uses the builtin PID code. Problems/Todo: -...
by spags
Mon Dec 29, 2014 12:52 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Not sure what you mean here. The question of when to start the injection is an open question, where is a parameter which specifies that - you can control at what angle to inject fuel, but I have no idea when we want to inject fuel I meant deciding when the injector starts it's squirt. As to when th...
by spags
Sun Dec 28, 2014 3:34 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Hi, small update. With a question! I've been working on other things, but today i got a wild hair up my ass to validate ignition timing (another thing i should of done from the start). So I plug in the board and my timing light, set the whole map to 10.0 degrees advance (my car has 2 adjusted in the...
by spags
Sat Dec 27, 2014 3:39 pm
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

Ok, small update. I've basically re-implemented idle to use the PID algorithm and a state machine to judge when it should be used. It builds and mostly works. Changes up till now: - On the idle thread use the efitimems_t type for timestamps. Gives us milliseconds resolution. Right now I'm sampling a...
by spags
Wed Dec 24, 2014 2:23 pm
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

:lol: I'm stealing that one. Happens all the time at work.
by spags
Wed Dec 24, 2014 1:41 am
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

This patch breaks stuff, it breaks stuff because this area is fragile and lame. See https://sourceforge.net/p/rusefi/tickets/125/ I see... messy. I the future it would be cool if engine_configuration.h and rusefi.ini were generated from a common definition file. Or some other more clever way of uni...
by spags
Tue Dec 23, 2014 2:52 am
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

Ok, baby steps.

I think idleSolenoidPwm should be in engine configuration. Given that every user will want to change it to whatever they need from car to car within the same model. Here is a diff moving it to engineConfiguration.
by spags
Tue Dec 23, 2014 12:34 am
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

hope, by May we'll have idle valve control for a stepper motor ;-) The only difference I can see between solenoid and actuator is the reaction time. A well designed algorithm may work for both without issues. As for ICVHomeValue, how is it different from idleSolenoidPwm from board_configuration_s? ...
by spags
Sun Dec 21, 2014 7:12 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Small update, I've been playing around with tuning the idle and a/c algorithms.

Here's an update:
[video][/video]
by spags
Sun Dec 21, 2014 6:23 pm
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

Re: idle IM_AUTO fixes and development.

Thanks, going to give this links a good read. As for the TPS lockout, this is a first hack to stop the problem. It will evolve into something smarter like using the highest seen value or something like that. Here's the patch for my fix, dead simple. diff --git a/firmware/controllers/algo/idle_contro...
by spags
Sun Dec 21, 2014 6:01 pm
Forum: Dev: Software
Topic: idle IM_AUTO fixes and development.
Replies: 45
Views: 31077

idle IM_AUTO fixes and development.

Hi everybody, I've been playing with the automatic idle algorithm. I have propose two enhancements. TPS lockout - The algorithm thinks you are in idle when you are using the throttle. This is not good since it will close the ICV to try and get you back into idle RPM, when you let go of the throttle ...
by spags
Sun Dec 21, 2014 3:17 am
Forum: You and your build
Topic: 2003 Dodge Neon (#9)
Replies: 109
Views: 101207

Re: 2003 Dodge Neon (#9)

Wow, congrats! This is a great milestone.

1 hp over stock! What is up with that dip between 3k rpm and 3.75k rpm?
by spags
Wed Dec 17, 2014 1:36 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Wow, it helps!



Now come the warmup enrichments.

Edit: I should note, this was after reflashing the new firmware and resetting to my engine type and adjusting the solenoid frequency. No more changes where necessary.
by spags
Wed Dec 17, 2014 12:35 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Alright, tasty data time.... With the attatched script and log I produced: Trigger StdDeviation ---------------------------------------- 0.000000 0.000000 52.960405 0.136736 122.635956 0.284776 216.897031 0.490407 232.640068 0.522702 288.819688 0.663799 302.646323 0.700889 412.448056 0.969577 482.81...
by spags
Tue Dec 16, 2014 11:30 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Found the issue with the round floats.

In rpm_calculator.cpp change the return line of getCrankshaftAngleN to

Code: Select all


	return ((float) timeSinceZeroAngleNt) / getOneDegreeTimeNt(engine->rpmCalculator.rpm(PASS_ENGINE_PARAMETER_F));
by spags
Tue Dec 16, 2014 11:06 pm
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

I could do a longer run and write small script to extract the info.

My timing is advanced my 2 degrees right now. Would that throw readings off?
by spags
Tue Dec 16, 2014 2:55 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Couple of missed starts and finally ran it for a few seconds.

These are set:
enable trigger_details
set_analog_chart_mode 1
by spags
Tue Dec 16, 2014 2:38 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Ok, got cranking working, it's rough but mostly reliable. Here are the changes I've done. - set_idle_pwm 800 - This got rid having to give it throttle while starting. I confirmed that with set_idle_enabled 1, the 600 cranking value it also works. - I changed the cranking parameters to the following:...
by spags
Tue Dec 16, 2014 2:15 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Ok, here is the data, along with it running.
by spags
Mon Dec 15, 2014 4:26 am
Forum: You and your build
Topic: 1994 USDM Mazda Miata #11
Replies: 172
Views: 116939

Re: 1994 USDM Mazda Miata #11

Ok, I'm going to get data of it starting _AND_ running tomorrow night. Time was at a premium this weekend...