Search found 692 matches

by mdrobnak
Thu Feb 11, 2021 1:52 am
Forum: Toyota/Lexus
Topic: Prius Gen 3 Dual Motor Logic Board Support Thread
Replies: 119
Views: 42954

Re: Prius Gen 3 Dual Motor Logic Board Support Thread

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.

-Matt
by mdrobnak
Wed Feb 10, 2021 3:42 pm
Forum: Projects
Topic: AMP 2008 Saturn Sky EV revival x2
Replies: 11
Views: 1593

Re: AMP 2008 Saturn Sky EV revival x2

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!

-Matt
by mdrobnak
Wed Feb 10, 2021 2:21 am
Forum: Getting Started
Topic: GS450h entire hybrid system transplant
Replies: 5
Views: 1488

Re: GS450h entire hybrid system transplant

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....
by mdrobnak
Tue Feb 09, 2021 5:29 am
Forum: Projects
Topic: 2004 BMW 330 with SMG/SSG Gearbox
Replies: 127
Views: 22769

Re: 2004 BMW 330 with SMG/SSG Gearbox

Ok, idle speed control routine: signed int ISC_Idle_speed_control_2() { signed int result; // r3@1 int v1; // r30@1 char v2; // xer_ca@3 __int16 v3; // r31@6 unsigned __int16 v4; // r31@18 __int16 v5; // r3@20 signed __int16 v6; // r29@22 __int16 v7; // r3@26 signed __int16 v8; // r29@28 int v9; // ...
by mdrobnak
Mon Feb 08, 2021 5:50 pm
Forum: Inverters / Motor Controllers
Topic: Terminal refactoring
Replies: 4
Views: 1060

Re: Terminal refactoring

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...
by mdrobnak
Mon Feb 08, 2021 5:44 pm
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 640
Views: 138898

Re: Tesla Model 3 Rear Drive Unit Hacking

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...
by mdrobnak
Mon Feb 08, 2021 7:17 am
Forum: Projects
Topic: New Project
Replies: 7
Views: 1616

Re: New Project

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...
by mdrobnak
Sun Feb 07, 2021 5:31 pm
Forum: Projects
Topic: New Project
Replies: 7
Views: 1616

Re: New Project

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
by mdrobnak
Sat Feb 06, 2021 8:57 pm
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 640
Views: 138898

Re: Tesla Model 3 Rear Drive Unit Hacking

I'd call that more than a hint. :D

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.

Nice job!

-Matt
by mdrobnak
Fri Feb 05, 2021 10:56 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 182063

Re: The ZombieVerter VCU Project

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...
by mdrobnak
Fri Feb 05, 2021 6:42 am
Forum: Projects
Topic: 2004 BMW 330 with SMG/SSG Gearbox
Replies: 127
Views: 22769

Re: 2004 BMW 330 with SMG/SSG Gearbox

Gone through more. Not done yet lol.
by mdrobnak
Fri Feb 05, 2021 3:47 am
Forum: Projects
Topic: Porsche Boxster with Siemens and DMOC
Replies: 139
Views: 18739

Re: Porsche Boxster with Siemens and DMOC

Hold onto it for something that you can use 1000 A in. :D
by mdrobnak
Thu Feb 04, 2021 7:27 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 182063

Re: The ZombieVerter VCU Project

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 ...
by mdrobnak
Thu Feb 04, 2021 7:12 pm
Forum: Toyota/Lexus
Topic: GS450H Inverter with a Leaf Motor?
Replies: 2
Views: 856

Re: GS450H Inverter with a Leaf Motor?

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.

-Matt
by mdrobnak
Wed Feb 03, 2021 6:52 am
Forum: Projects
Topic: 2004 BMW 330 with SMG/SSG Gearbox
Replies: 127
Views: 22769

Re: 2004 BMW 330 with SMG/SSG Gearbox

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...
by mdrobnak
Tue Feb 02, 2021 4:03 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 182063

Re: The ZombieVerter VCU Project

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...
by mdrobnak
Tue Feb 02, 2021 12:26 am
Forum: Charging
Topic: Tesla Model 3 Charge Port Controller Standalone Development
Replies: 225
Views: 52663

Re: Tesla Model 3 Charge Port Controller Standalone Development

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 ...
by mdrobnak
Mon Feb 01, 2021 11:06 pm
Forum: Projects
Topic: 2004 BMW 330 with SMG/SSG Gearbox
Replies: 127
Views: 22769

Re: 2004 BMW 330 with SMG/SSG Gearbox

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...
by mdrobnak
Mon Feb 01, 2021 1:36 am
Forum: Projects
Topic: 2004 BMW 330 with SMG/SSG Gearbox
Replies: 127
Views: 22769

Re: 2004 BMW 330 with SMG/SSG Gearbox

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...
by mdrobnak
Sun Jan 31, 2021 6:19 am
Forum: Charging
Topic: Tesla Model 3 Charge Port Controller Standalone Development
Replies: 225
Views: 52663

Re: Tesla Model 3 Charge Port Controller Standalone Development

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.
by mdrobnak
Sun Jan 31, 2021 6:16 am
Forum: Inverters / Motor Controllers
Topic: I2C EEPROM?
Replies: 1
Views: 575

I2C EEPROM?

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 ...
by mdrobnak
Sat Jan 30, 2021 5:13 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 182063

Re: The ZombieVerter VCU Project

LOL Love the lightbulb moment. :) Keep up the good work.
by mdrobnak
Sat Jan 30, 2021 5:10 pm
Forum: Toyota/Lexus
Topic: GS450H Discussion
Replies: 377
Views: 78770

Re: GS450H Discussion

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...
by mdrobnak
Sat Jan 30, 2021 3:37 am
Forum: Charging
Topic: Tesla Model 3 Charge Port Controller Standalone Development
Replies: 225
Views: 52663

Re: Tesla Model 3 Charge Port Controller Standalone Development

Wow.

Soldering SMD to adapter boards SUCKS!

What kind of tools does everyone use for SMD soldering? I am fairly certain I made a complete mess of my first try.

-Matt
by mdrobnak
Fri Jan 29, 2021 3:44 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 182063

Re: The ZombieVerter VCU Project

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).

-Matt