nissan HR12DDR GDI engine

Your chance to introduce yourself and your vehicle
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

nissan HR12DDR GDI engine

Post by Omen234 »

Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

IMG_1844.jpeg
IMG_1844.jpeg (3.53 MiB) Viewed 7673 times
IMG_1850.jpeg
IMG_1850.jpeg (2.82 MiB) Viewed 7673 times
IMG_1847.jpeg
IMG_1847.jpeg (3.11 MiB) Viewed 7673 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

It will be an airboat
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

CABE4C60-83DC-45FE-8483-D81458D7F2AB.jpeg
CABE4C60-83DC-45FE-8483-D81458D7F2AB.jpeg (1.81 MiB) Viewed 7671 times
7B3A51CB-54D0-4653-9790-C568D1F99580.jpeg
7B3A51CB-54D0-4653-9790-C568D1F99580.jpeg (1.57 MiB) Viewed 7671 times
Attachments
IMG_1871.jpeg
IMG_1871.jpeg (2.92 MiB) Viewed 7671 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

I made a control unit for him.
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

IMG_2273.jpeg
IMG_2273.jpeg (2.21 MiB) Viewed 7670 times
IMG_2272.jpeg
IMG_2272.jpeg (2.09 MiB) Viewed 7670 times
IMG_2270.jpeg
IMG_2270.jpeg (2.88 MiB) Viewed 7670 times
IMG_2269.jpeg
IMG_2269.jpeg (2.9 MiB) Viewed 7670 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

IMG_2446.jpeg
IMG_2446.jpeg (2.92 MiB) Viewed 7670 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

I've connected everything
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

Everything seems to be working
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

now I would like to add a trigger
NISSAN_HR12DDR.png
NISSAN_HR12DDR.png (139.09 KiB) Viewed 7603 times
the crankshaft trigger on it is now like a subaru ez30, but no luck with the camshafts
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

void initializeNissanHRvvtIn(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CAM_SENSOR, SyncEdge::RiseOnly);

int offset = 360 - 260;

s->addToothRiseFall(offset + 30);
s->addToothRiseFall(offset + 47);
s->addToothRiseFall(offset + 150);
s->addToothRiseFall(offset + 270);

s->setTriggerSynchronizationGap2(4, 6);
s->setSecondTriggerSynchronizationGap2(0.35f, 0.7f);
}


void initializeNissanHRvvtEx(TriggerWaveform *s){
s->initialize(FOUR_STROKE_CAM_SENSOR, SyncEdge::RiseOnly);

int offset = 360 - 260;

s->addToothRiseFall(offset + 30);
s->addToothRiseFall(offset + 150);
s->addToothRiseFall(offset + 270);

s->setTriggerSynchronizationGap2(4, 6);
s->setSecondTriggerSynchronizationGap2(0.35f, 0.7f);
}
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

The VVT is similar to the vq30, so I assumed it should be like this. but I don't understand how to implement it and verify it. explain or show, for example, dropping links to changes
User avatar
AndreyB
Site Admin
Posts: 14508
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: nissan HR12DDR GDI engine

Post by AndreyB »

Omen234 wrote:
Mon Aug 05, 2024 3:19 am
now I would like to add a trigger
please attach a perfect photo of the trigger 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
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

Снимок экрана (20).png
Снимок экрана (20).png (501.02 KiB) Viewed 7179 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

без свечей.png
без свечей.png (90.42 KiB) Viewed 6426 times
Everything is very good without candles
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

as soon as I put the candles on, the place stops working
со свечами.png
со свечами.png (69.61 KiB) Viewed 6426 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

2024-08-11_17.08.30.csv[/attachment [attachment=1]2024-08-11_17.07.15.csv
Attachments
2024-08-11_17.08.30.csv
(142.61 KiB) Downloaded 81 times
2024-08-11_17.07.15.csv
(106.58 KiB) Downloaded 85 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

2024-08-11_22.43.04.csv
(101.79 KiB) Downloaded 164 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

2024-08-11_23.36.04.zip
(252.27 KiB) Downloaded 142 times
User avatar
AndreyB
Site Admin
Posts: 14508
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: nissan HR12DDR GDI engine

Post by AndreyB »

please try once https://github.com/rusefi/rusefi/commit/47638b3eea7c04ff3c42f8cc9dd56deeb46ab683 builds
image.png
image.png (103 KiB) Viewed 6395 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
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

2024-08-12_10.33.13.zip
(274.56 KiB) Downloaded 170 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

Logic-1.2.40
nissan HR12DDR.zip
(5.29 KiB) Downloaded 94 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

nissan HR12DDR.rar
(3.63 KiB) Downloaded 92 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

Снимок экрана (35).png
Снимок экрана (35).png (101.81 KiB) Viewed 5313 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

void initializeNissanHRvvtIn(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CAM_SENSOR, SyncEdge::RiseOnly);


s->addToothRiseFall(120);
s->addToothRiseFall(120 + 17);
s->addToothRiseFall(240);
s->addToothRiseFall(360);

s->setTriggerSynchronizationGap2(5, 7);
s->setSecondTriggerSynchronizationGap2(0.05, 0.5);



}
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

дабавил токой вот код для распредвала
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

https://github.com/romioRN/rusefi/blob/nissan--vvt-in/firmware/controllers/trigger/decoders/trigger_nissan.cpp
вот ссылка на код иеще на тест
https://github.com/romioRN/rusefi/blob/nissan--vvt-in/unit_tests/tests/trigger/test_real_nissan_hr_vvt.cpp
не проходит тест что не так не понимаю неделю сижу не каких результатов ю что я делаю не так?
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

Снимок экрана (71).png
Снимок экрана (71).png (470.56 KiB) Viewed 1601 times
Omen234
Posts: 66
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: nissan HR12DDR GDI engine

Post by Omen234 »

лутшее изоброжение которое я нашел
Post Reply