Suzuki G13BB Trigger

It's all about the code!
Post Reply
FFG_Garage
Posts: 26
Joined: Tue Jul 11, 2023 8:37 pm

Suzuki G13BB Trigger

Post by FFG_Garage »

Hello!

I would like to use rusefi with an old suzuki swift, G13BB engine code. I found the supported trigger page hase the G13B patter, but in this suzuki a little bit different the trigger wheel. It is in the distributor with a VR sensor, and hase 3 tooth for every cylinder. 91 degree, 61 degree and 6 degree before TDC. The factory manual write this:
suzuki_g13b_trigger.jpg
Can somebody add this trigger to the rusefi code? or is any documentation how can I add it?

thank you
You do not have the required permissions to view the files attached to this post.
FFG_Garage
Posts: 26
Joined: Tue Jul 11, 2023 8:37 pm

Re: Suzuki G13BB Trigger

Post by FFG_Garage »

I modified the trigger_suzuki.cpp file to this in my custom firmware:

Code: Select all

void initializeSuzukiG13B(TriggerWaveform *s) {
	s->initialize(FOUR_STROKE_CRANK_SENSOR, SyncEdge::RiseOnly);

	int w = 5;
	
	s->addToothRiseFall(95, w);

	s->addToothRiseFall(125, w);
	
	s->addToothRiseFall(180, w);

	s->addToothRiseFall(275, w);

	s->addToothRiseFall(305, w);

	s->addToothRiseFall(360, w);

  s->tdcPosition = 180 + 6;
	s->isSynchronizationNeeded = false;
	s->shapeWithoutTdc = true;
}
with this mod it working on my table, drive with an old jbperf stimulator board. I will test it with in a real car.
User avatar
AndreyB
Site Admin
Posts: 14782
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Suzuki G13BB Trigger

Post by AndreyB »

Please explain what's going on here

We do not have this trigger at all?
We have the trigger but it's broken?
Something else?
Do you have a logic analyzer recording of this signal flow? Maybe using a $9 eBay logic analyzer?
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
FFG_Garage
Posts: 26
Joined: Tue Jul 11, 2023 8:37 pm

Re: Suzuki G13BB Trigger

Post by FFG_Garage »

I try to explain it:

The suzuki G13B hase a 12 tooth trigger whell in it's distributor, in my first post I uploaded an image from the factory service manual. this is some other photos from it:
g13b_trigger_12_tooth.jpg
g13b_trigger_12_tooth_2.png
In the supported triggers page hase a trigger with name G13B, but this is not the factory suzuki G13B trigger (I think someone made a trigger decoder from the modified trigger whell, because for example Haltech is supported only suzuki G13B with a modified trigger wheel, need to cut off some tooth)
I found this picture in Haltech support page, this wheel is a modified one, 4+1 style trigger:
modified_g13b_trigger_haltech.jpg
In the original rusefi firmware is supported this modified trigger wheel (cutted some tooth).

with my code, my custom firmware now work with the factory 12 tooth wheel (real car testing will need)


the current rusefi firmware G13B pattern:
trigger_TT_SUZUKI_G13B.png
this is not a 12 tooth pattern, this is a 4+1
You do not have the required permissions to view the files attached to this post.
Post Reply