Search found 92 matches

by ssmith
Sat Nov 26, 2022 6:20 pm
Forum: Misc
Topic: Is stm32f4 the right chip?
Replies: 161
Views: 323115

Re: Is stm32f4 the right chip?

https://www.cypress.com/products/cypress-traveo-ii-body-cyt4bf-series 350-MHz Arm® Cortex® -M7F dual core 8 MB code flash, 256 KB work flash and 1024 KB SRAM and Arm® Cortex® -M0+ 176 TEQFP, 272 BGA, 320 BGA Totally not available anywhere so far. There are other versions available now. CYT2B7 and C...
by ssmith
Wed Jan 26, 2022 9:32 pm
Forum: You and your build
Topic: 2018 Tahoe DI 5.3 "My funny gdi test mule"
Replies: 9
Views: 4523

Re: 2018 Tahoe DI 5.3 "My funny gdi test mule"

That leading edge table is really interesting. Way more linear than I would expect. Maybe they're just ignoring the non-linear area of the lobe. Also interesting that the lobe is 130 degrees, not 120. Guess the lobe is asymmetrical. That one table basically combines the cam profile table and pump co...
by ssmith
Wed Jan 19, 2022 4:38 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Yay for mlg-converter: https://github.com/karniv00l/mlg-converter/releases/tag/0.50 I'm able to convert binary logs to csv, since I don't want to shell out $$$ for megalogviewer. https://datazap.me/u/scottsmith/2022-01-18-172103?log=0&data=1-2-4-5-8 Andrey - what changes did you make to the VVT ...
by ssmith
Tue Jan 18, 2022 7:10 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

AndreyB wrote:
Tue Jan 18, 2022 6:07 pm
Sounds like it's really time to remove that condition
Probably, so long as the check exists somewhere in the ignition logic. Alternatively, just disable injection, but leave ignition on. The ultimate wasted spark mode!
by ssmith
Tue Jan 18, 2022 5:49 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Probably because scheduleOrQueue events don't run when ignition is off. void TriggerScheduler::scheduleEventsUntilNextTriggerTooth(int rpm, uint32_t trgEventIndex, efitick_t edgeTimestamp) { // Not sure why we check ignitionEnabled; it's left over from when this code lived in // spark_logic.cpp, but...
by ssmith
Thu Jan 13, 2022 1:33 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Problem: half of cranking attempts build HP and start, the other half of cranking attempts pressure is not building and we are not starting. For instance on the log snippet here first and fourth attempts we have pressure build-up, with start on fourth attempt only, second and third no pressure no r...
by ssmith
Mon Jan 10, 2022 6:30 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Alright, peak position of 10 degrees looks much better. Lets work with that, no need to try 20 degrees. So funny with high resolution logging to see the individual pumps and injections. From here I still don't think we should change P/I yet. I think the next thing to do is pump compensation. Transie...
by ssmith
Mon Jan 10, 2022 5:21 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Biggest complaint: we have sporadic FATAL only on cranking. With 12 cranking attempts I got two of those FATAL. Those are _probably_ HardFault or something because TS console connection just disappears, with rusEFI firmware fatal we just get nice red indicator and connection is alive. Can you run i...
by ssmith
Mon Jan 10, 2022 5:17 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

can I please make it not today. No rush. I didn't see any log file attached, btw. I did have an idea for a future improvement. It's along the lines of a feature the DTA S100 ECU has. It can measure injector deadtime by changing the number of injections per cycle from 1 to 2 and halving the amount o...
by ssmith
Mon Jan 10, 2022 4:45 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

https://datazap.me/u/scottsmith/2022-01-09-215459-v2?log=0&data=0-1-24-25-28-29 Seems steady at high rpm, choppy at low load. I'm not sure why 9.5s-12.5s has such high swings while 15.6s-20.7s has small swings. It's like it was caught in some sort of ringing/oscillation feedback and had to be pu...
by ssmith
Sun Jan 09, 2022 7:25 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

EDIT: ah I see the log, I'll take a look Please note that's with the wrong https://rusefi.com/online/view.php?msq=816&dialog=hpfpCamDialog Just hard-coded desired curve and I think next step is to fix that CLT sensor :) https://github.com/rusefi/rusefi/commit/bd69941ec4121f360284ce934ffd8004c5c...
by ssmith
Sun Jan 09, 2022 7:23 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

1. Change the tune; under Controllers/HPFP Pump Configuration, set Proportional gain = 0.01 Integral gain = 0.0003 (30x the current value) 2. Change the logging to only record RPM, TPS, all the DI: variables, and Fuel Pressure High. That should increase the data logging rate. 3. Log in ASCII 4. Run ...
by ssmith
Sun Jan 09, 2022 5:17 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

I think rusEFI has GDI as of today. Awesome! If you're willing to rewire the hpfp to some random external mosfet board, you should be able to rewire it to the pt2001 board. From what I remember, if you don't want current control you should be able to just rewire the negative lead, and leave the pos...
by ssmith
Tue Jan 04, 2022 7:24 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Short to bat means your load is too heavy for this output. Overtemp is it time to add thermal pad from pcb to bottom half of case. And from 8888 to top part? It might be that the thermal design is fine but we're expecting too much from it. Overtemp may be a function of the protection mode of the ou...
by ssmith
Tue Jan 04, 2022 4:27 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

I do not like this result so I would like to declare it inconclusive for now :) Because I can totally hear things clicking. I should get MRE on my Miata for reference and bench test injectors. EngineState: confirmation_hpfpbench:9 EngineState: Running bench: ON_TIME=20000 us OFF_TIME=500000 us Coun...
by ssmith
Mon Jan 03, 2022 9:57 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Andrey - maybe you can bench test the driver without running the motor. Set the output pin that drives the HPFP to PWM, 12.5% duty cycle, 20Hz. That mimics approximately 30 degree on time every 240 degrees at 800RPM. Watch it on the oscilloscope (while driving the HPFP) and see if it shuts off at so...
by ssmith
Mon Jan 03, 2022 4:46 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Another though: we have diagnostics code in TLE8888 driver maybe it's time to actually use it. firmware Fatal in case of overtemperature? Never fatal. Try to cope, throw warnings, go into limp mode, etc. Never fatal. As Matthew has pointed out many times before, you can run a GDI motor without HPFP...
by ssmith
Mon Jan 03, 2022 4:44 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

It could still be peak-hold. That just means it has no boost phase. The injector driver goes boost (high voltage) -> peak (low voltage, higher current setting) -> hold (low voltage, lower current setting). The pump could still do the latter two phases while skipping the first one. True, but if + is...
by ssmith
Sun Jan 02, 2022 10:57 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

In my scope capture, the vertical scale is questionable. I don't trust it because I didn't calibrate verify it first. It was a quick measure and seemed to be in the ball park. I think Matt's capture says 2 amps. The big thing is that I think a 4.5 amp driver will be ok. The average current may be 2...
by ssmith
Sun Jan 02, 2022 10:51 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

exposing the dram locations for the hpfp control, adding code to set them, adding config variables, etc. i need help with this part. Not sure if Chris Noxz has noticed our progress yet :) I think it's really easy actually - the addresses are in dram2.def; you have to offset them by 64 since it's ch...
by ssmith
Sun Jan 02, 2022 5:42 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

In this post, I measured OEM in the hold pattern was about 4.5 amps. The yellow trace was 2amps per vertical division. So it would appear the hold voltage is below 12v. https://rusefi.com/forum/viewtopic.php?t=1631&start=12 Is that for the injector or the hpfp? It isn't clear to me after readin...
by ssmith
Sun Jan 02, 2022 6:51 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

It would probably be about five days for stuff to arrive and me to replace the starter so have time to attempt CLT/IAT repairs. Solenoid measures 2.2 Ohms so close to 6A while officially that OUT6 is rated only for 4.5A. Yes will hook up an oscilloscope and confirm life in the wire once/if I get th...
by ssmith
Sun Jan 02, 2022 4:57 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

https://rusefi.com/online/view.php?msq=801 With lower VE it would idle just fine but looks like without high pressure. Note how on the log we get high pressure for some period and then it was gone again. Looks like car would start if it builds high pressure, and it does NOT do it reliably. Sometime...
by ssmith
Sat Jan 01, 2022 10:31 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

BTW can you configure the intake/manifold air and coolant temp sensors? They're reading 0C. It helps to have a sensible value there for accurate air flow calculations. Coolant temp may contribute here depending how you have charge air temp calculated. I guess you're error is only about 10% since 20K...
by ssmith
Sat Jan 01, 2022 10:08 pm
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Not good seeing the pressure go to 125bar and then just stay there. Ideally I'd love to see all the internal variables logged. fuel_requested_percent fuel_requested_percent_pi m_I_sum_percent m_pressureTarget_kPa I would try dropping the P and I terms by a factor of 10 (P=0.03, I=0.00001) which shou...
by ssmith
Sat Jan 01, 2022 6:39 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

mck1117 wrote:
Sat Jan 01, 2022 4:49 am
Please get the engine to run without HPFP control first. I know for a fact my Focus idled (and drove a little bit) just fine with the high pressure pump unplugged completely.
I thought the motor was running before with the original HPFP logic?
https://rusefi.com/forum/viewtopic.php?p=38819#p38819
by ssmith
Sat Jan 01, 2022 4:37 am
Forum: You and your build
Topic: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64
Replies: 181
Views: 337748

Re: 2006 Volkswagen Passat 2.0 Turbo GDI test mule #64

Why is only one injector firing per cycle? That logic might work on port injection but doesn't work on direct injection. Each injector should be firing independently. Still doesn't explain why we couldn't get the HPFP working, though I'm still suspect of it saying "NO PIN." Are you sure th...
by ssmith
Sat Jan 01, 2022 4:27 am
Forum: Dev: Hardware
Topic: bosch 7506280 GDI driver
Replies: 7
Views: 8790

Re: bosch 7506280 GDI driver

Without even looking to check I can say you are looking at anything from 12 to 35 bar for pressures depending on the injectors so pulse width is all over the place. In terms of running the engine (ignoring emissions and knock limited stuff) then any pressure around 20bar will do and adjust the fuel...
by ssmith
Wed Dec 29, 2021 5:34 pm
Forum: Dev: Hardware
Topic: BMW GDI Fuel Injectors
Replies: 1
Views: 2028

Re: BMW GDI Fuel Injectors

N54 uses piezo. N55 (successor), N20 (4 cyl version of N55), and S55 (M3 version of N55, really more like current gen motors) use solenoid. B38/B48/B58/S58 (current gen 3-cyl/4-cyl/6-cyl/"M3") use solenoid too I believe. I'm not sure about the V8. The manual for the N20 says the N73 uses s...
by ssmith
Tue Dec 14, 2021 6:38 am
Forum: Dev: Hardware
Topic: BMW S65 (V8 M3) Ion Sensing
Replies: 1
Views: 2251

Re: BMW S65 (V8 M3) Ion Sensing

I ran one more test. With a 470 ohm resistor pulled to ground, the signal is about 2.6V. When pulled to 5V, it's 4.6V. That actually makes for a fairly simple circuit. MCU output to a buffer capable of 10+mA to a 470 ohm. Drive high to sense, drive low to idle. In parallel with that, an n-ch logic l...