[help needed] Suzuki G13B tooth pattern

It's all about the code!
Post Reply
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Suzuki G13B tooth pattern

Post by mihallis »

Hi, i have question about wire up distributor to microRusEfi.

It is possible?

I also need find out some tooth pattern for G13B distributor. I try check out actual supported patterns, but a cannot find any similar.

Thanks for any help to do it run!
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: Distributor wiring and tooth pattern

Post by AndreyB »

Please provide more details. I am not familiar with G13B distributor please mention vehicle and year. As is I am not sure what are you trying to do.
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
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Distributor wiring and tooth pattern

Post by mihallis »

First in first sorry for my English.

I'm trying to setup microRusEFI for Suzuki Swift G13B engine (G13B 74 kW), that engine does not have any VR or Hall sensor, only distributor, with toothed wheel. So probably, it is possible to use that distributor instead of VR/Hall sensor.

So in this case i have now. I need setup right tooth count. But that distributor have 1 double tooth so output signal will be something like this...
_|_|____|____|____|

In this moment. I'm very confused. Sorry for that.
If something does not make sense, please ask me about that other way.
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: Distributor wiring and tooth pattern

Post by AndreyB »

Distributor with one double tooth is not just a plain old distributor.

Is there a chance that inside that distributor there is some sensor?

Please note



has three VR sensors inside the not so plain distributor ASSEMBLY.

Mazda miata has two Hall sensors inside the distributor ASSEMBLY.

Please post wiring diagram of that distributor. If you have output signals into some electronics that's a hybrid unit.
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
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Distributor wiring and tooth pattern

Post by mihallis »

The distributor has only one sensor. But wheel inside have one "double" tooth and other three teeth. I cannot find any photos, i'll take one tomorrow.

That one sensor probably will be Hall and probably output will be (by looking to teeth).
_|_|____|____|____|___.

Sorry, it's G13BB not G13B.
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: Distributor wiring and tooth pattern

Post by AndreyB »

I am starting to think that you are asking how to get this custom shape working in rusEFI

In order to get a new shape working in rusEFI C/C++ code would have to be changed to add new shape definition. For me to add new shape definition I need exact angle positions of the tooth or at least a straight symmetrical picture of the wheel.
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
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Distributor wiring and tooth pattern

Post by mck1117 »

AndreyB wrote:
Sun Oct 03, 2021 9:40 pm
For me to add new shape definition I need exact angle positions of the tooth or at least a straight symmetrical picture of the wheel.
I suspect it's one tooth per cylinder, plus an extra tooth in the center between two cylinders. An N+1 wheel, if you will.
User avatar
MHTSOS
Posts: 74
Joined: Sun Jun 02, 2019 6:46 pm
Github Username: MHTSOSVOODOO
Slack: Dimitri C

Re: Distributor wiring and tooth pattern

Post by MHTSOS »

As far as I know the G13BB has wasted spark ignition with two coils on the valve cover. The G13B had a distributor. Is this engine from a Suzuki Swift GTi or another car? Is it the 100hp version? Does it have 1 cam or dual cams?

Στάλθηκε από το VOG-L29 μου χρησιμοποιώντας Tapatalk


User avatar
MHTSOS
Posts: 74
Joined: Sun Jun 02, 2019 6:46 pm
Github Username: MHTSOSVOODOO
Slack: Dimitri C

Re: Distributor wiring and tooth pattern

Post by MHTSOS »

Here is the trigger wheel inside the distributor of G13B
https://www.maxxecu.com/webhelp/trigger_system-suzuki_13b.html
https://forums.linkecu.com/topic/10255-g13b-twincam-trigger-pattern/
Looks like it will need a crank wheel installed to work properly.
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Distributor wiring and tooth pattern

Post by mihallis »

Hi, i have photo of the distributor inside.

It's G13B from Suzuki Baleno - mainly, but in some cases it could be find in Swift as 63kW version. It's EFI engine with this distributor.

G13B and G13BB is similar. but have many variations. So it's all confusing.

G13B is with "classic" distributor (SOHC or DOHC GTi) + EFI.
G13BB is SOHC only with wasted spark + EFI.

I have SOHC + EFI + no wasted spark (w distributor)

How to setup this pattern?
Attachments
IMG_3704.PNG
IMG_3704.PNG (9.86 MiB) Viewed 9737 times
User avatar
MHTSOS
Posts: 74
Joined: Sun Jun 02, 2019 6:46 pm
Github Username: MHTSOSVOODOO
Slack: Dimitri C

Re: Distributor wiring and tooth pattern

Post by MHTSOS »

This is a 4+1 like Mathew predicted. It will probably need a custom trigger built into the software. It it possible to install a cranck wheel like 36-1 with a generic sensor and not use the signal from the distributor at all? That would be the most reliable solution. A cam wheel with only 4 teeth does not provide a lot of resolution.

Στάλθηκε από το VOG-L29 μου χρησιμοποιώντας Tapatalk

mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Distributor wiring and tooth pattern

Post by mihallis »

Yes it is possible.

But only like this (Suzuki OE 12630-52G01):
image.png
image.png (2.19 MiB) Viewed 9731 times
User avatar
MHTSOS
Posts: 74
Joined: Sun Jun 02, 2019 6:46 pm
Github Username: MHTSOSVOODOO
Slack: Dimitri C

Re: Distributor wiring and tooth pattern

Post by MHTSOS »

That's 36-2-2-2 and it's already supported. It's the same as Subaru. This will work fine.

Στάλθηκε από το VOG-L29 μου χρησιμοποιώντας Tapatalk

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: Suzuki G13B tooth pattern

Post by AndreyB »

Let me attempt to add new trigger
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: Suzuki G13B tooth pattern

Post by AndreyB »

Next step is testing on real car, be sure to use a timing gun to figure out "global trigger offset"

Image
Attachments
suzuki.png
suzuki.png (6.54 MiB) Viewed 9692 times
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
JRD McLAREN
contributor
contributor
Posts: 434
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: Suzuki G13B tooth pattern

Post by JRD McLAREN »

It is trigger pattern in distributor,
it count 720deg, not 360 only.

(and rotate CCW.. :?: )
.. some Proteus and microRusEFI for sale in Europe ..
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Suzuki G13B tooth pattern

Post by mihallis »

AndreyB wrote:
Mon Oct 04, 2021 11:51 pm
Next step is testing on real car, be sure to use a timing gun to figure out "global trigger offset"

Image
Hi, Thank you!

We tried it today and we got message WARNING: Shaft event while trigger is mis-configured. But nothing seems as bad configuration, it is bad wiring ? or where we should start with debugging problem.

Code: Select all

2021-11-13_23_44_36_354: EngineState: trigger ICU hw: 207 207 1
2021-11-13_23_44_36_362: EngineState: Template MICRO_RUS_EFI (60) trigger (null) (66) useRiseEdge=Yes onlyFront=Yes useOnlyFirstChannel=No tdcOffset=0.00
2021-11-13_23_44_36_362: EngineState: trigger#1 event counters up=155/down=0
2021-11-13_23_44_36_362: EngineState: expected cycle events 0/0/0
2021-11-13_23_44_36_363: EngineState: trigger type=66/need2ndChannel=No
2021-11-13_23_44_36_363: EngineState: expected duty #0=0.00/#1=0.00
2021-11-13_23_44_36_363: EngineState: synchronizationNeeded=Yes/isError=No/total errors=0 ord_err=0/total revolutions=0/self=No
2021-11-13_23_44_36_363: EngineState: gap from 1.50 to 2.50
2021-11-13_23_44_36_365: EngineState: VVT input: PA5 mode VVT_INACTIVE
2021-11-13_23_44_36_367: EngineState: VVT event counters: 0/0
2021-11-13_23_44_36_367: EngineState: primary trigger input: PC6
2021-11-13_23_44_36_367: EngineState: primary trigger simulator: NONE OM_DEFAULT freq=1200
2021-11-13_23_44_36_367: EngineState: trigger error extra LED: NONE OM_DEFAULT
2021-11-13_23_44_36_367: EngineState: primary logic input: NONE
2021-11-13_23_44_36_367: EngineState: secondary logic input: NONE
2021-11-13_23_44_36_367: EngineState: totalTriggerHandlerMaxTime=122
2021-11-13_23_44_36_368: EngineState: confirmation_triggerinfo:11
2021-11-13_23_44_56_012: EngineState: WARNING: Shaft event while trigger is mis-configured
here is our configuration:
image.png
image.png (860.83 KiB) Viewed 9130 times
image.png
image.png (445.57 KiB) Viewed 9130 times
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: Suzuki G13B tooth pattern

Post by AndreyB »

The warning points at the fact that you have configured VVT input but later changed your mind making it a self-contradicting configuration
image.png
image.png (32.55 KiB) Viewed 9099 times
You would need to gather verbose synchronization logs in console and post for further investigation

See https://github.com/rusefi/rusefi/wiki/Trigger#troubleshooting-synchronization-rusefi-console

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
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Suzuki G13B tooth pattern

Post by mihallis »

AndreyB wrote:
Sun Nov 14, 2021 2:37 pm
The warning points at the fact that you have configured VVT input but later changed your mind making it a self-contradicting configuration

image.png

You would need to gather verbose synchronization logs in console and post for further investigation

See https://github.com/rusefi/rusefi/wiki/Trigger#troubleshooting-synchronization-rusefi-console

Image
Oh! Thanks... we forgot about it, we thinked if it is disabled, then is not take to the mind. So we were ignored that.
Tomorrow we could say, if it's working and if it is right.

We have this setup:
image.png
image.png (938.32 KiB) Viewed 9088 times
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: Suzuki G13B tooth pattern

Post by AndreyB »

At the moment you have ignored the "please provide data" part. Is there a misunderstanding that just changing CAM setting would improve things? It would not.

Without the verbose data I have asked for to the best of my ability this would not just solve itself.
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
mihallis
Posts: 8
Joined: Sun Oct 03, 2021 8:11 pm
Github Username: MIcQo

Re: Suzuki G13B tooth pattern

Post by mihallis »

Sorry, we try it tomorrow and get more info if problem persist and more logs from console. At this moment we're not at the car.
Post Reply