Search found 94 matches

by ssmith
Wed Dec 29, 2021 5:34 pm
Forum: Dev: Hardware
Topic: BMW GDI Fuel Injectors
Replies: 1
Views: 2289

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: 2558

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...
by ssmith
Tue Dec 14, 2021 12:17 am
Forum: Dev: Hardware
Topic: BMW S65 (V8 M3) Ion Sensing
Replies: 1
Views: 2558

BMW S65 (V8 M3) Ion Sensing

I decided to start a new topic so the different hardware solutions could be kept separate. I finally got a chance to test out a running car. The coils have three pins: 12V, GND, and a signal wire that doubles as ignition and sense signals. It seems that the ECU drives it to 0V to charge the coil, 5V...
by ssmith
Wed Dec 08, 2021 4:25 pm
Forum: You and your build
Topic: 2004 BMW 760 N73 "A big mistake"
Replies: 198
Views: 228887

Re: 2004 BMW 760 N73 "A big mistake"

ETB vs VVT: ETB on this engine are active just during starting and in error case. Normally, the ETBs are fully open and VVT controls the motor. In the event of an error, VVT is moved to a specific position and control is transferred to the ETBs. So that the motor can continue to run, albeit (perhap...
by ssmith
Wed Dec 08, 2021 5:11 am
Forum: You and your build
Topic: 2004 BMW 760 N73 "A big mistake"
Replies: 198
Views: 228887

Re: 2004 BMW 760 N73 "A big mistake"

8. Separately, this engine has valvetronic. That might be problematic That's the fifth control module and that one I am definitely not touching in the foreseeable future. Best case I keep it happy via CAN, worst case it's disconnected. I'm betting if it can't talk to the DME, it just opens 100% and...
by ssmith
Wed Dec 08, 2021 4:46 am
Forum: You and your build
Topic: 2004 BMW 760 N73 "A big mistake"
Replies: 198
Views: 228887

Re: 2004 BMW 760 N73 "A big mistake"

ok now I'm looking into this, some of the stuff will be different than the HPFP I'm used to / than the code I implemented. 1. You have two pumps, two rails, two pressure sensors. Double the fun! 2. The pumps are always pressurizing the rail. You activate the valve to RELEASE fuel, not pressurize the...
by ssmith
Wed Dec 08, 2021 4:17 am
Forum: You and your build
Topic: 2004 BMW 760 N73 "A big mistake"
Replies: 198
Views: 228887

Re: 2004 BMW 760 N73 "A big mistake"

Now that I have the plates straight pipes in Holland tunnel and/or Lincoln tunnel are feasible. 1) shall I? 2) depends on rusEFI running the car obviously 3) are all straight pipes created equal or not? do I need equal length or other drama considerations? Zeiss do you know catalytic layout? Would ...
by ssmith
Tue Dec 07, 2021 5:57 am
Forum: Dev: Hardware
Topic: Wideband Controller: Fully Custom, no ASIC!
Replies: 211
Views: 618298

Re: Wideband Controller: Fully Custom, no ASIC!

mck1117 wrote:
Tue Dec 07, 2021 4:38 am
I think that refers to *differential* pressure, right? Not absolute pressure?
It says absolute pressure of the exhaust gas. Section 3.3 of https://www.ecotrons.com/files/Bosch_LSU49_Tech_Info.pdf
Is there better PDF?
by ssmith
Tue Dec 07, 2021 4:31 am
Forum: Dev: Hardware
Topic: Wideband Controller: Fully Custom, no ASIC!
Replies: 211
Views: 618298

Re: Wideband Controller: Fully Custom, no ASIC!

Maybe this is more of a software question, but any plan to implement barometric compensation for lambda calculation? Bosch has a nice chart that shows at 0.85bar ambient the 'lp' value is about 5% lower for the same lambda. That's like driving in Salt Lake City (well maybe more like 0.88bar). Intere...
by ssmith
Sun Dec 05, 2021 7:45 pm
Forum: Dev: Hardware
Topic: Ground planes
Replies: 3
Views: 2618

Re: Ground planes

get some free capacitance? I thought having ground on neighboring planes was a bad idea as they couple together. do the math, the capacitance gained is hilariously small C=kE0A/d, E0 = 8.854e-12F/m A = 0.0225m^2 (150mm x 150mm) JLC7628 k=4.6 d=0.0002m capacitance=4.6nF JLC2313 k=4.05 d=0.0001m capa...
by ssmith
Sun Dec 05, 2021 6:43 pm
Forum: Dev: Hardware
Topic: Ground planes
Replies: 3
Views: 2618

Ground planes

I looked over the gerbers for Hellen154Hyundai, and as far as I can tell, all four layers have ground as the primary fill. Is there a reason that 5V or 12V isn't used one some layers to get some free capacitance? I thought having ground on neighboring planes was a bad idea as they couple together. I...
by ssmith
Sun Dec 05, 2021 6:30 am
Forum: Dev: Software
Topic: Software knock processing
Replies: 69
Views: 74396

Re: Software knock processing

https://github.com/andreika-git/hellen-one/blob/master/modules/knock/0.1/knock-schematic.pdf

I assume that's the latest version? It is already remarkably compact on a PCB.
by ssmith
Sat Dec 04, 2021 6:32 pm
Forum: Dev: Software
Topic: Software knock processing
Replies: 69
Views: 74396

Re: Software knock processing

Another circuit question... any reason the first op-amp doesn't include any low pass filtering? If C474 were moved in parallel with R470 (and the value changed appropriately), then R472 could be removed. Not that it's a huge deal. Or get a relatively cheap 4th order filter and reduce the sampling ra...
by ssmith
Sat Dec 04, 2021 5:37 am
Forum: Dev: Software
Topic: Software knock processing
Replies: 69
Views: 74396

Re: Software knock processing

To be clear, I'm not suggesting dynamic range while the engine is running, but instead dynamic range to handle differences from one engine/knock sensor to another. The 32-bit float isn't buying you anything if you max out (or can't even get a signal) from the ADC. Or is the answer "you have to ...
by ssmith
Sat Dec 04, 2021 4:14 am
Forum: Dev: Software
Topic: Software knock processing
Replies: 69
Views: 74396

Re: Software knock processing

Is the idea to determine the gain needed on a per-engine basis, and bake that into the board? Or any thoughts on adding programmable gain to the circuit? If you use a DAC instead of VREF2 (5v/2), then put a PGA like PGA112 or MCP6S91 at the end (maybe instead of U471?). Or if you want more choices i...
by ssmith
Sat Dec 04, 2021 12:25 am
Forum: Dev: Hardware
Topic: Wideband Controller: Fully Custom, no ASIC!
Replies: 211
Views: 618298

Re: Wideband Controller: Fully Custom, no ASIC!

I was looking through the code and schematics, and noticed that both Vm and LSU_Vm are routed to the MCU. At first I thought that was so the MCU could detect if LSU_Vm was being dragged down for some reason, but as far as I can tell the code only samples at Vm, not LSU_Vm. Is this just a left over c...
by ssmith
Sat Dec 04, 2021 12:19 am
Forum: Tuning Support: Making it Run
Topic: MAF vs Speed Density, why do we prefer which one?
Replies: 21
Views: 20467

Re: MAF vs Speed Density, why do we prefer which one?

Personally, I would always prefer a MAF sensor over a MAP sensor. Precisely because I get directly, always and under all operations, the air mass that the engine is currently taking in. I do not have to correct, adjust or anything else, just directly calculate the injection quantity for the desired...
by ssmith
Fri Dec 03, 2021 3:56 am
Forum: Dev: Hardware
Topic: Common Rail MC33816/PT2001 dev board - 4 injectors GDI
Replies: 137
Views: 180876

Re: Common Rail MC33816/PT2001 dev board - 4 injectors GDI

Awesome thanks...

Guess I should take it as a hint that if the OEM needed both sides of the board, then maybe I should look for a bigger case.

Hey look, a BGA ecu! Where's the BGA thread...
by ssmith
Fri Dec 03, 2021 3:37 am
Forum: Dev: Hardware
Topic: let's choose an enclosure
Replies: 121
Views: 119976

Re: let's choose an enclosure

Would you be able to create a wiki page with dimensions of various ECU cases, at least for the 121+ pin enclosures? It might be helpful to get that documented for those trying to make their own PCB.
by ssmith
Fri Dec 03, 2021 3:31 am
Forum: Dev: Hardware
Topic: Reliability Criteria? Design goals? Strength specification?
Replies: 11
Views: 5025

Re: Reliability Criteria? Design goals? Strength specification?

I think things like AEC-Qxxx are good for component selection, i.e. which ones are designed for temperature/vibration environment that a car is subjected to. Separately, it is probably worth deciding what user-errors you want to tolerate. This is more important with wire-in ECU than plug-in ECU, as ...
by ssmith
Fri Dec 03, 2021 1:54 am
Forum: Dev: Hardware
Topic: let's choose an enclosure
Replies: 121
Views: 119976

Re: let's choose an enclosure

So is the best idea for an enclosure still to just poach an existing ECU with the same connector you want to use? So for 121-pin connector, some Audi/VW (Bosch) or Nissan case? I did run across this, I think the case might be the same size as the Bosch one - four corner screws are 111x157mm apart. h...
by ssmith
Thu Dec 02, 2021 10:05 pm
Forum: Dev: Hardware
Topic: Common Rail MC33816/PT2001 dev board - 4 injectors GDI
Replies: 137
Views: 180876

Re: Common Rail MC33816/PT2001 dev board - 4 injectors GDI

4) nobody makes a 60v rated cap, so you use 100v caps. Perhaps more importantly, you WILL get switching transients far above the target voltage, and you really don't want those transients poking holes in your dielectric in the cap. Look inside an OEM ECU some time, you'll see much higher voltage ra...
by ssmith
Thu Dec 02, 2021 9:42 pm
Forum: Dev: Hardware
Topic: Common Rail MC33816/PT2001 dev board - 4 injectors GDI
Replies: 137
Views: 180876

Re: Common Rail MC33816/PT2001 dev board - 4 injectors GDI

5) I believe Q3 and Q5 (sorry, I did a reinstall of my computer and I don't have my dev environment set up enough to actually pull up the schematic, so this is by memory and also looking at the boards [0.3] in front of me) are the VBat fets.. Basically the chip is setup into channels, and 2 injecto...
by ssmith
Thu Dec 02, 2021 6:50 pm
Forum: Dev: Hardware
Topic: Common Rail MC33816/PT2001 dev board - 4 injectors GDI
Replies: 137
Views: 180876

Re: Common Rail MC33816/PT2001 dev board - 4 injectors GDI

I'm on the cusp of deciding whether to build my own board or just add an ion sensing pre-board that sends timing information back to my current ECU, so that's why I'm pushing forward with this now. I'm willing to tailor my board to my own needs (and I thought that was the point of Hellen, too), so i...
by ssmith
Thu Dec 02, 2021 5:56 pm
Forum: Dev: Hardware
Topic: Common Rail MC33816/PT2001 dev board - 4 injectors GDI
Replies: 137
Views: 180876

Re: Common Rail MC33816/PT2001 dev board - 4 injectors GDI

5. Along the lines of removing unneeded components - why not remove Q3 and Q5 too? I.e. the positive rail for the injectors is either 12V - diode, or boost, but never floating? Less heat by running current through fewer components. EDIT: this (along with the other component removal) would require co...
by ssmith
Thu Dec 02, 2021 5:47 pm
Forum: Dev: Hardware
Topic: Common Rail MC33816/PT2001 dev board - 4 injectors GDI
Replies: 137
Views: 180876

Re: Common Rail MC33816/PT2001 dev board - 4 injectors GDI

I've looked over the GDI circuit in rusefi/hardware/Common_Rail_MC33816 and compared it to NXP's AN4849 for MC33816, and have some questions/comments. Obviously the one in rusefi/ is meant to be a near copy of the NXP Application Note, so from here on I'll use the rusefi notations for components: 1....
by ssmith
Tue Nov 30, 2021 10:22 pm
Forum: Dev: Software
Topic: Dynamic table creation and axis selection
Replies: 6
Views: 3756

Re: Dynamic table creation and axis selection

I started a GitHub project for a GUI that supports dynamic table creation and axis selection. https://github.com/racer-coder/tunedemo As an example, I demoed using an ethanol sensor to interpolate between two VE maps, and then adding coolant temp compensation on top of that, all configured by the us...
by ssmith
Mon Nov 29, 2021 7:02 pm
Forum: Dev: Hardware
Topic: MCU choice
Replies: 9
Views: 4585

Re: Re:

Some users want switchable tables/tunes. With memory mapped flash there is no need to load it to ram, for example. Well this conversation probably deserves it's own thread, but... How many tables/tunes? Do you really want completely separate tunes or just separate tables for a few things, like igni...
by ssmith
Mon Nov 29, 2021 4:25 am
Forum: Dev: Hardware
Topic: MCU choice
Replies: 9
Views: 4585

Re:

STM32F7/H7 has QSPI module that can map external flash to CPU address map. This is cool feature. I use it to store settings. QSPI flash erase+write is much faster than internal. Some STM32 already support CAN-FD. I don't think we need more flash addressable by the CPU, right? External flash is usef...
by ssmith
Sat Nov 27, 2021 6:53 am
Forum: Dev: Software
Topic: Dynamic table creation and axis selection
Replies: 6
Views: 3756

Re: Dynamic table creation and axis selection

For me the bigger issue is axis selection than dynamic table size; besides I believe TunerStudio can handle dynamic table size now if we would just implement the necessary changes in RusEFI. Also dynamic table allocation is probably also needed as we have limited resources and need to allow differen...