Search found 94 matches
- Sat Nov 27, 2021 4:27 am
- Forum: Dev: Software
- Topic: Dynamic table creation and axis selection
- Replies: 6
- Views: 3796
Re: Dynamic table creation and axis selection
(sorry, fixed bug in script, if it didn't work before try again)
- Sat Nov 27, 2021 4:11 am
- Forum: Dev: Software
- Topic: Dynamic table creation and axis selection
- Replies: 6
- Views: 3796
Dynamic table creation and axis selection
I've brought this up in another thread but I think it deserves it's own. I think it's really important from a usability perspective that users have more control over the 2d and 3d maps used by the software. It makes it easier to write software (no need to predict every use case) and it makes it more...
- Sat Nov 27, 2021 12:51 am
- Forum: Dev: Hardware
- Topic: MCU choice
- Replies: 9
- Views: 4635
- Fri Nov 26, 2021 10:43 pm
- Forum: Dev: Hardware
- Topic: MCU choice
- Replies: 9
- Views: 4635
MCU choice
I'm starting to get more serious about building my own board, of course MCU choice is a big concern. I've done a bit of research (as I'm sure others have done), so I thought I'd list it and get some feedback. FWIW I need around 30 analog inputs and 16 digital inputs (at least 9 with input capture ca...
- Sat Nov 06, 2021 9:13 pm
- Forum: You and your build
- Topic: Greetings...
- Replies: 11
- Views: 6595
Re: Greetings...
Ohhh you are touching a huge topic. I would love to discuss this further but open question is what is the best format and when would that communication be most effective. For multiple reasons forum long form is my third preference. One on one voice over phone with screen sharing is the best remote ...
- Sat Nov 06, 2021 6:31 pm
- Forum: You and your build
- Topic: Greetings...
- Replies: 11
- Views: 6595
Re: Greetings...
So I built a second computer to handle boost, some sensors, etc Can you please elaborate with maybe two pictures of said computer? Would be worth 2048 words. It's in the picture of the interior of the car. From left to right there's my made up PDM (I don't recommend that as a project), my boost con...
- Sat Nov 06, 2021 4:54 pm
- Forum: You and your build
- Topic: Greetings...
- Replies: 11
- Views: 6595
Re: Greetings...
Here are some not great pictures. Try not to mock my wiring
- Sat Nov 06, 2021 3:35 am
- Forum: You and your build
- Topic: Greetings...
- Replies: 11
- Views: 6595
Re: Greetings...
BTW if I had a board wishlist, it'd probably include (and no I'm not saying do this for me, it's more to plant ideas on what others may find useful): 1. Large connector so I can have lots of goodies. I saw the 121 pin connector on Aliexpress that is probably the same as some VAG/etc connectors. I do...
- Sat Nov 06, 2021 1:10 am
- Forum: You and your build
- Topic: Greetings...
- Replies: 11
- Views: 6595
Greetings...
Well I don't have any actual hardware yet, but I decided to start working on the software side of RusEFI. A little about my car: I decided to transplant a new-ish motor (BMW N20, turbo 4-cyl GDI) into an old-ish car (BMW E46). I joke that I have a real 4-cyl M3 ;-) The car road races in NASA ST4 in ...
- Fri Nov 05, 2021 3:20 pm
- Forum: Dev: Software
- Topic: How to compile the dev console
- Replies: 7
- Views: 8322
Re: How to compile the dev console
I was having trouble compiling the configuration parser. I got: [javac] /home/scott/src/rusefi/java_console/inifile/src/main/java/com/rusefi/tune/xml/Constant.java:3: error: package javax.xml.bind.annotation does not exist [javac] import javax.xml.bind.annotation.XmlAttribute; [javac] ^ ... This is ...
- Thu Nov 04, 2021 4:10 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
Oh I forgot to mention decay rate. The HPFP has no way to lower rail pressure other than the emergency relief valve or injecting fuel. So if the target pressure rapidly decreases, you need some logic to say "no, that's not really achievable, lets only lower the pressure by a certain amount com...
- Thu Nov 04, 2021 3:47 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
I've seen the result on my engine, again configured more by guess than measurement, and this table makes pressure control very smooth. I KNEW I'd seen this idea somewhere! The OEM tune for my Focus had a "Pump VE" table, dependent upon RPM and rail pressure: image.png I guess that's exact...
- Thu Nov 04, 2021 3:40 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
Oh I forgot to mention decay rate. The HPFP has no way to lower rail pressure other than the emergency relief valve or injecting fuel. So if the target pressure rapidly decreases, you need some logic to say "no, that's not really achievable, lets only lower the pressure by a certain amount comp...
- Thu Nov 04, 2021 2:49 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
This model based on fuel volume is reasonably good, but it has errors. Yes we could rely on a PI controller to fix that, but in order to reduce the work of the PI controller we add a compensation table. The compensation table is just another adder in the % domain. This table is very easy to tune (j...
- Thu Nov 04, 2021 2:44 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
I would like to improve the activation hold time logic. Motec actually has a 3d table for this on RPM and battery voltage. Personally I'm not sure why voltage matters if you have a current control output, but from the sounds of the help file I don't think they do use a peak and hold driver, instead...
- Thu Nov 04, 2021 2:43 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
Of course solenoids have dead time / activation delay, so we need a table for that. The deadtime is pretty small for high current, low inductance peak-hold driven solenoids. IIRC the common HDEV4/5 injectors have a deadtime of something like 100 us. This is the sort of thing the PI controller is fo...
- Thu Nov 04, 2021 1:43 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
I would like to improve the activation hold time logic. Motec actually has a 3d table for this on RPM and battery voltage. Personally I'm not sure why voltage matters if you have a current control output, but from the sounds of the help file I don't think they do use a peak and hold driver, instead ...
- Thu Nov 04, 2021 1:40 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
Thank you for the PR and nice write up! While GDI is a bit on hold it's still great to move forward! Well... does it have to be on hold? I have code! I'm willing to do the legwork! Besides, it's a bit of chicken and egg. How would you test GDI hardware without competent control strategies? Why not ...
- Thu Nov 04, 2021 12:21 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
Re: HPFP control strategy
Forgot to mention, pumps like the HDP5 have a built in valve that bleed off pressure if the rail exceeds a certain amount. On my car with a 200bar typical max pressure, the emergency relief valve is at 250bar. This is necessary not just in case software goes awry, but because fuel expands with heat ...
- Thu Nov 04, 2021 12:08 am
- Forum: Dev: Software
- Topic: HPFP control strategy
- Replies: 15
- Views: 6405
HPFP control strategy
I'd like to implement the HPFP control strategy. I pushed a first draft of what I think will work: https://github.com/rusefi/rusefi/pull/3453 It is based heavily on an existing standlone ECU control strategy, so I won't claim to have come up with it myself. I did however write all the code. First, s...
- Tue Nov 02, 2021 1:41 am
- Forum: Dev: Software
- Topic: Questions about the implementation
- Replies: 18
- Views: 8415
Re: Questions about the implementation
I actually disagree that it would be a lot of work to get a tuning and logging app up and running, but I may as well put my time where my mouth is. My day job is in application software. Trust me, the gulf between "up and running" and "usable" is far, far wider than you think it...
- Mon Nov 01, 2021 7:42 pm
- Forum: Dev: Software
- Topic: Questions about the implementation
- Replies: 18
- Views: 8415
Re: Questions about the implementation
Correct, TS is absolutely a limitation of how we can shape the config. The question is not how to design a memory layout that could do something different/fun/interesting, but rewriting an entire GUI tuning app to support that, along with the logging and pretty UI that TS already has implemented . ...
- Mon Nov 01, 2021 6:39 pm
- Forum: Dev: Software
- Topic: Questions about the implementation
- Replies: 18
- Views: 8415
Re: Questions about the implementation
3. Yes, this is a known thing. As you guessed it's a little fiddly to make the transition seamless for users. Well I started down the path of writing a rom converter (actually finished it, ~120 lines of python), but then it dawned on me you might already have something like that? I notice rusefi on...
- Sat Oct 30, 2021 3:55 am
- Forum: Dev: Software
- Topic: Questions about the implementation
- Replies: 18
- Views: 8415
Re: Questions about the implementation
1. MAP averaging is particularly useful for engines with ITBs or tiny plenums, where the MAP signal may only be valid for a short duration (ie, intake valve is open). Phase aligned sampling also can help avoid any aliasing since the MAP ripple is of course variable frequency. That would seem to req...
- Sat Oct 30, 2021 12:55 am
- Forum: Dev: Software
- Topic: Questions about the implementation
- Replies: 18
- Views: 8415
Questions about the implementation
I've been reading over some of the code and have come up with some questions. Sorry if this is newbie stuff, but here goes: 1. I see some rather complicated logic around MAP averaging. I assume the idea is to smooth out the pulse that happens as the valves open and close. Any reason not to just use ...
- Fri Oct 29, 2021 1:13 am
- Forum: Dev: Software
- Topic: Inexpensive board for development
- Replies: 5
- Views: 3328
- Fri Oct 29, 2021 1:11 am
- Forum: Dev: Software
- Topic: Inexpensive board for development
- Replies: 5
- Views: 3328
Re: Inexpensive board for development
196kb of ram and 1mb flash min. Which means stm32f407 discovery which is very available I can't find the F407-disco from a reputable supplier, except for stupid $$. Nucle f7 and h7 also have default targets I guess please notice firmware/config/boards folder Ah, didn't see that directory. Looks lik...
- Fri Oct 29, 2021 12:11 am
- Forum: Dev: Software
- Topic: Inexpensive board for development
- Replies: 5
- Views: 3328
Inexpensive board for development
What's the current recommendation (given the state of the project and the ongoing chip shortage) for an inexpensive board for software development? I'd like to dip my toes in, but want to do it on real ARM hardware. I found this in stock but it only has 128kB of RAM and is only 100MHz: https://www.m...
- Thu Oct 28, 2021 11:15 pm
- Forum: Misc
- Topic: Tire Pressure Monitoring System (TPMS)
- Replies: 10
- Views: 11388
Re: Tire Pressure Monitoring System (TPMS)
I've used a MAX41474 to read FSK data; it can also handle ASK in both 315 and 433 range. That should handle almost any TPMS you'll run across. The downside is it's QFN12 but I was able to solder them using the toaster oven method (the pins are 0.8mm apart, so pretty forgiving as QFN goes). You'll wa...
- Tue Oct 26, 2021 7:53 pm
- Forum: You and your build
- Topic: BMW M70 in 8 series with Proteus?
- Replies: 78
- Views: 52815
Re: BMW M70 in 8 series with Proteus?
Very few people use baro For sure not needed but I have started installing them on anything I work on because you just get a better more versatile tune. +1 on using baro. VE changes due to exhaust backpressure, which can be captured using baro. Link G4+ has a concept of MGP (G=gauge instead of A=ab...