[rusEfi] Two stroke Efi (#14)

Your chance to introduce yourself and your vehicle
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: 14292
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: 14292
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: 14292
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: 14292
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: 14292
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: 14292
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: 14292
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
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Micro usb on Discovery.
User avatar
AndreyB
Site Admin
Posts: 14292
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 »

Number-One wrote:Micro usb on Discovery.
It matches my experience - microUSB is for some reason more fragile comparing with miniUSB on Franken board. Please try using a jumper and moving to miniUSB if you have that section soldered.

Could be electrical issue, theoretically could be software issue but my bet is on electrical. If only we had an EE with a test mule and enough time...
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
Tomin
Posts: 39
Joined: Fri Oct 18, 2013 8:03 pm

Re: Two stroke Efi (#14)

Post by Tomin »

Usb is sensitive to noise unfort. You can try ferite bead on usb cable. To me helps in 60% cases.
Tomas
User avatar
AndreyB
Site Admin
Posts: 14292
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 »

Tomin wrote:Usb is sensitive to noise unfort. You can try ferite bead on usb cable. To me helps in 60% cases.
Thank you for the idea, I will try with a ferrite bead cable!
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 »

Different types and sizes.

Image
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Update

Image
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Idle controller

Image
Number-One
contributor
contributor
Posts: 101
Joined: Sun Jan 05, 2014 2:59 pm

Re: Two stroke Efi (#14)

Post by Number-One »

Question about usb ttl option on frank.

With this hardware i don´t need use the 2 usb on discovery? i can use this port for ts and console right? And about pb1 jumper?
Abricos
contributor
contributor
Posts: 849
Joined: Mon Aug 18, 2014 12:32 am
Location: Carteret, NJ 07008

Re: Two stroke Efi (#14)

Post by Abricos »

fabric can make a shortcut circuit (circuit shorted)
User avatar
AndreyB
Site Admin
Posts: 14292
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 »

Number-One wrote:Question about usb ttl option on frank.

With this hardware i don´t need use the 2 usb on discovery?
pb1 is not even used now, latest firmware has pretty much same protocol on both ports. The TTL on a Frank board replaces the microUSB on discovery.
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