[rusEfi] Two stroke Efi (#14)

Your chance to introduce yourself and your vehicle
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

I know this tool here, but i don´t know if i can find with the gauge, most of people buy without gauge to be cheaper. Need ask tomorow.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Two stroke Efi (#14)

Post by kb1gtt »

Perhaps you can add a gauge with a Tee or similar fittings. The gauge does not need to be connected to the hand pump, it just has to be in the vacuum hose.
Welcome to the friendlier side of internet crazy :)
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Russian, need your help

Image



After some research found some bikes and some ford and honda cars with this map signal. I belive i have this signal on my sensor.
It´s possible use this map sensor signal with rusefi?
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

I would guess that first we would need to convert the frequency into voltage somehow.

@, would it be possible to do that with some magic resistor and cap values on the existing RC filter before the op-amp? I believe right now we have 100R and 0.01uF or something like that.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

maybe with this
Image
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Two stroke Efi (#14)

Post by kb1gtt »

This would not be a simple circuit. 50% duty cycle means it's not just a low pass filter. I played around some with QUCS looking at adding a diode and cap to function as freq to voltage converter. So far no easy solution. I might have something that produces .9V to 1.1V, but that range is blah, and it takes some time to settle out, so it's kind of a crappy solution.
Welcome to the friendlier side of internet crazy :)
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Two stroke Efi (#14)

Post by puff »

What about an external microcontroller-based DAC? I believe, the simplest solution would be to replace this sensor with another type.
The programmable way would probably require another system timer, which might not be available + some development effort.
However, looking at this sensor, I believe it has some advantages over the analogue sensors: Its readings don't change with temperature; they don't require ADC circuitry; they are probably less prone to EMI, etc.
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

I see, so I would need to implement the digital signal processing. That could be done.

I've just ordered myself a used Ford sensor, maybe I will have the code in about two weeks.

Image
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

russian wrote:I see, so I would need to implement the digital signal processing. That could be done.

I've just ordered myself a used Ford sensor, maybe I will have the code in about two weeks.

Image
I can do some tests with my sensor if you need.
User avatar
abecedarian
Posts: 386
Joined: Fri Nov 15, 2013 10:49 am

Re: Two stroke Efi (#14)

Post by abecedarian »

kb1gtt wrote:This would not be a simple circuit. 50% duty cycle means it's not just a low pass filter. I played around some with QUCS looking at adding a diode and cap to function as freq to voltage converter. So far no easy solution. I might have something that produces .9V to 1.1V, but that range is blah, and it takes some time to settle out, so it's kind of a crappy solution.
Did you look at LM2907/LM2917 frequency to voltage converters?
You can lead the horticulture but you can't make them think.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Two stroke Efi (#14)

Post by kb1gtt »

There are several frequency to voltage converters out there. I have not looked at them closely at all. They would require a PCB layout and would need to be scabbed into the existing PCB's some how. Andrey knows that you can do thing like use a PWM output then low pass filter it to make an DAC, so he inquired if there was a semi easy way to do the same on the ADC with these signals. The problem is that these DAC's use a duty cycle to generate the various voltages, and we have a fixed duty cycle, so a low pass filter no worky for this application. The more elegant solution is to add this to the firmware.

This discussion about frequency MAF and MAP has been continued in this tread http://rusefi.com/forum/viewtopic.php?f=5&t=878
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

I've added Ford setting decoding into your config, but I guess your Honda sensor calibration is different?

Does your digital multimeter have Hz mode? What does it show at room pressure?

Image
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

I´m not sure, but i think i have 100hz @ idle. I will do some tests tomorow and give feedback.
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

By the way, how high did you rev your engine with rusEfi?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

I´m not sure, because i don´t have rev counter. I´m waiting this http://www.aliexpress.com/item/KOSO-original-speedometer-motorcycle-meter-hot-sell-motorcycle-parts-free-shipping/1852297551.html
but i can get 10k easy .
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Andrey, please check this video. I don´t have a good map value.

https://www.dropbox.com/s/4ef4ahp6jxfzyyt/3.avi?dl=0

Can you help?
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

Step 1: let's confirm that you are using the right input and firmware. For that, can you please hit 'enable self_stimulaton' while ECU is not on the bike, that would make simulated signal on your pin PD0 I believe (triggerinfo command would confirm trigger simulation pin)

Once you feed this simulated trigger into MAP input you should get less crazy MAP values.

Step 2: you can try feeding the value via the op-amp, this has helped me with some signals like vehicle speed sensor. Please note that my Ford MAP was producing a clean signal as is, without an op-amp.

Step 3: do you have an oscilloscope or a friend with one? That's the electronics engineering domain here and it requires some tools and knowledge for investigation :(
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Two stroke Efi (#14)

Post by kb1gtt »

Sound card O-Scope would be good enough for this kind of slow signal.
Welcome to the friendlier side of internet crazy :)
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: Two stroke Efi (#14)

Post by rus084 »

do you use frequency output MAP ?
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

kb1gtt wrote:Sound card O-Scope would be good enough for this kind of slow signal.
I can get a scope, no problem.
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

rus084 wrote:do you use frequency output MAP ?
Yes.
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: Two stroke Efi (#14)

Post by rus084 »

do you activated frequency MAP sensor mode ?
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

rus084 wrote:do you activated frequency MAP sensor mode ?
Yes, it's in the config - as long as latest firmware & config was reset with set_engine_type 29

https://svn.code.sf.net/p/rusefi/code/trunk/firmware/config/engines/sachs.cpp
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

yes, on ts i have
map input type
frequency-based map
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Update.

[video][/video]
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Two stroke Efi (#14)

Post by kb1gtt »

very nice, very nice.
Welcome to the friendlier side of internet crazy :)
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Need adjust injection starting point. What´s the command to advance it?
Image
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

https://svn.code.sf.net/p/rusefi/code/trunk/firmware/config/engines/sachs.cpp

Code: Select all

	 // set_injection_offset 0
	engineConfiguration->injectionOffset = 0;
that's offset regardless of engine load and RPM. There is also a tunable table of injection phase by engine load and RPM if you need it.

I've just added this field into Tuner Studio project but that would force you to upgrade to newer version.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Two stroke Efi (#14)

Post by AndreyB »

[10:01:21 AM] ! ecu Number One Filipe: my problem now is the connection
[10:02:10 AM] ! ecu Number One Filipe: few seconds after start the engine, ts or console loose connection
is this via microUSB on the discovery or miniUSB on the Frankenstein?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply