johu wrote: ↑Wed Feb 10, 2021 4:26 pm
Indeed, maybe even enough pins left on the "slave" (whats the new word for this?) STM32 to have it handle the buck/boost
I tend to use primary and secondary. Or maybe main and ancillary.
Those are good controllers, not sure about that motor. Looks like some fun times ahead! Good luck with your project, and I look forward to hearing more!
I am also planning this, and basically will be simply sending torque demands to the VCU, and handling everything else myself. The VCU is pretty much taking the place of the HVECU in the stock setup, so I don't see why this wouldn't be doable, just...there's lacking info at this moment unfortunately....
Nice! My OO theory has gotten to a much better level of understanding in working with this stuff vs the templating stuff they harped on about in school. I still think that at times OO (Object Oriented) programming is a bit overkill, but then when you're dealing with multiple instances of the same th...
I've no doubt the oem's keep an eye on us. Case in point I have half the jaguar land rover powertrain team following me on twitter who are also not too keen on me replacing an infinion tricore mcu and a cyclone 4 fpga with a f103 and some random logic:) They're more likely jealous - how did we over...
Sounds exciting, keep us posted, hide the Lotus. If you're interested in giving back to the community, I know there's always a need for experienced software development on the VCU projects. It frees up some of the contributors to put efforts into other places. Thanks! I will have a look and see whe...
Welcome! Yes, having an experienced software dev is definitely useful, although the VCU project is in C/C++. 99% of it is pretty straightforward though in terms of code as we have libraries which abstract most of the hard pieces. There's tons of interesting info here. Where'd you find the forum? -Matt
In a way this is the best of the both worlds - massively engineered acquisition / power supply circuits, with a just-as-complex-as-needed motor control firmware.
While that works for now, I'd recommend that the states be given names (via an Enum) that makes sense, and each control protocol is in their own subclass. I'm heads down trying to get my head around my own stuff, but might have some time next week to dedicate to this and other things Damien is worki...
Off the throttle seems to be about -100, then when the brake is applied it applies a variable torque proportional to the braking force required. I have the MG2 speed also from the HTM frame on the same graph, so if we want to mimic how a toyota hybrid drives that should be no problem. I'll post up ...
The VCU setup is designed to work with the stock setup, so unfortunately without a Open Inverter full control board (which I think someone is working on for the Camry variant), the answer is no, it's not going to work. Sorry.
For my torque management script, the previous build was 417 lines, and I've put things into enough functions that it is down to 94 lines, of which the first 20 or so are various setup fluff. Now it should be easier to compare to the stock (Siemens MS45) ECU setup. I also started looking over the MS4...
A little filter on the torque value coming out of this might be nice to smooth things out as the algorithm swaps between the accelerator input and the braking levels. Speaking from experience here...this isn't as trivial as one might hope. Loads easier with electric though! :) This is the crux of m...
PXL_20210130_015901739.jpg SOIC-8 EEPROM. I think I did an OK enough job, just dealing with learning how to do I2C programming now. :D But no fun, that's for sure! I have the hot air gun, but it's one of the wallpaper ones. Works fine for shrink, but too much power and moved the chip too easily. I ...
1. Eh, not awful, but what was really killing me was too much Proportional error correction on the idle routine. Fixed that and the car idles much better now. 2. Nope, need to fix that. I think I need to step back, look at the code and try and generate a general flow of the stock ECU. I need to brea...
Ran the car on the Motec today. Ehhhh. So looks like some of my MAF math was quite bad. Super rich at idle. Oops. Shift from 1 to 2 still fails. I think the main issue is the RPMs are falling too rapidly. So close: so_close.png The lines in white are from a run on my code. But..just kidding. just_ki...
It looks like I may have not completely messed it up. But still,not great. Now trying to figure out I2C. I see data burst on the scope even when not connected to the board, just clock, so I think the chip is OK. But, usage is a bit of a mystery to me.
I'm trying to get the ST M24M02 I2C 2Mbit EEPROM working. I'm 99% certain I have it soldered OK. It looks like it puts out some data when clocked and SDA is not actually connected. I definitely see data flowing on SDA from the board side. The code is giving me an Acknoledge error, I'm guessing it's ...
Added to https://openinverter.org/wiki/Lexus_GS450h_Inverter Hi mdrobnak. I'm a bit of a newbie to this forum, could i ask your advice? I'm refurbishing the oil pump for the Lexus GS450H transmission too and having to find details of replacement parts. Is there some way I can help make this informa...
So much progress in the last day. Excellent work Dilbert and Damien!
Dilbert - check to see that some of them are not more complimentary values or checksum values (ie 255 - X instead of X as a check -- some ABS units do this when they want MORE torque instead of less).