Search found 410 matches

by Dilbert
Wed Mar 17, 2021 12:15 am
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Quick question, does the normal bootloader work on the zombie ecu? Or does it need some changes for this cpu?
by Dilbert
Tue Mar 16, 2021 9:26 am
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

I just couldn't wait any longer and had to test Dilbert's regen implementation from one of the earlier posts. Success! I was able to get over 50 amps of regen in during braking with small amount of negative torque. I had to adopt code slightly for my VCU v.2 Arduino code because I do not have VCU v...
by Dilbert
Mon Mar 15, 2021 9:06 am
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Have the Yaris converter hooked up ready to test later in the week. I didn't have the correct connectors so made do with lots of 2 way JST connectors.
by Dilbert
Sun Mar 14, 2021 12:12 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Here's the Pinouts for the GEN3 Toyota Inverters, we will probably move these over onto the wiki when there is some time.
by Dilbert
Sat Mar 13, 2021 5:17 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

If the whole connector is Sumitono, the only crimp that seems close to the right pitch for the signal wires is the type 1.0II or 1.0III, which are 1.8mm wide...
by Dilbert
Sat Mar 13, 2021 4:49 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

The larger repair wire (82998-12440), is listed here:- https://www.ih8mud.com/tech/pdf/WireHarnessRepairManual/repairwi.pdf Looks like this is the larger crimp terminal https://www.bmotorsports.com/shop/product_info.php/manufacturers_id/3/products_id/1762 Sumitomo TS 2.3II Female Terminal It says th...
by Dilbert
Sat Mar 13, 2021 4:02 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Perfect, thanks for posting! So the repair wire is one of the main 12V/Ground connections to the inverter. I'll see if i can identify a crimps for the smaller signal wires, i would guess the same crimp would be used for the resolver connector. I have measured the pitch of the connectors and they see...
by Dilbert
Wed Mar 03, 2021 10:47 pm
Forum: BMW
Topic: E90 EPS (Active Steering Rack integration)
Replies: 20
Views: 10875

Re: E90 EPS (Active Steering Rack integration)

In theory it is possible if the correct firmware is on the unit. Your main problem will be running the serial bus fast enough to take the 500kbps CAN data. If you have an arduino due you can connect up a can transceiver and run the savycan firmware. You can also do the same on an esp32 wifi module. ...
by Dilbert
Sat Feb 27, 2021 2:38 pm
Forum: BMW
Topic: E90 EPS (Active Steering Rack integration)
Replies: 20
Views: 10875

Re: E90 EPS (Active Steering Rack integration)

Ok so that means the rack is coded to the vehicle, so there'll be no coding issues. Yep capture some can data from the power train can bus, you should see the existing ecu sending 0rpm for the tach. You'll probably need to unplug the existing ecu so you can try send that message yourself. Once they ...
by Dilbert
Fri Feb 26, 2021 8:42 am
Forum: BMW
Topic: E90 EPS (Active Steering Rack integration)
Replies: 20
Views: 10875

Re: E90 EPS (Active Steering Rack integration)

If you could connect something like savyCAN to the the PT CAN bus, i'm not sure if that's on the diag connector so would be best to Tap it at the main engine ECU, you could load a DBC file to decode the data.

https://github.com/dzid26/opendbc-BMW-E ... 9x_e8x.dbc
by Dilbert
Fri Feb 26, 2021 8:29 am
Forum: BMW
Topic: E90 EPS (Active Steering Rack integration)
Replies: 20
Views: 10875

Re: E90 EPS (Active Steering Rack integration)

Just so i'm understanding correctly; the rack is currently connected to the correct CAN bus (PT-CAN?) in the E90 and once the speed goes > 5mph it will become active? That sounds like progress. That is probably a safety mode, so if the engine was to cut-out you wouldn't be without power steering. Wa...
by Dilbert
Wed Feb 24, 2021 7:57 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

It will definitely spin a gen 2 transaxle then 😁
by Dilbert
Sat Feb 20, 2021 3:08 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

The sounds good. I'd imagine even the flywheel would do the job. It would give us a good idea of what rpm the system can regen down to. I was considering if even a flywheel could be added to the input shaft on the gearbox, to do something similar. I'm still in the process of sourcibg a gen 3 inverte...
by Dilbert
Thu Feb 18, 2021 8:13 pm
Forum: Projects
Topic: [DRIVING] VW Touran powered by Nissan Leaf [FINISHED]
Replies: 738
Views: 176945

Re: VW Touran powered by Nissan Leaf [FINISHED]

It's electric, I could use it as is. More info here: https://openinverter.org/wiki/Touran_Conversion Ok, Does it have an ECU? I'm trying to figure out how to initiate my BMW e90's steering rack, it's electric. It tends to come alive while driving, however it's not active when I turn on the ignition...
by Dilbert
Mon Feb 08, 2021 10:03 pm
Forum: Toyota/Lexus
Topic: Toyota Corolla 2007 - Transaxle question
Replies: 1
Views: 627

Re: Toyota Corolla 2007 - Transaxle question

You need to start looking up the parts catalogs online, to see what transmission is in your current vehicle and if that is also fitted to other models such as the auris. You could then look up things like drive shafts, wheel hubs etc... Off the top of my head, I would imagine the corolla from 2007 w...
by Dilbert
Sat Feb 06, 2021 3:45 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

I wasn't happy with my code above for regen, as it didn't give the brake priority over the throttle, so maybe something like this:- int16_t CalcTorque( int16_t throttle, int16_t brake, int16_t motor_speed, int16_t dir_selected){ int16_t torque; if(brake > 0){ if(motor_speed > 40){ //moving forward t...
by Dilbert
Sat Feb 06, 2021 11:59 am
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

I would consider just renaming the GS450 files / class as something more generic like Toyota or Hybrid etc.. Here's the enum: enum{ STATE_GS450H_SEND_REQ, STATE_GS450H_SEND_HTM, STATE_GS450H_DELAY, STATE_GS450H_READ_MTH, STATE_GS450H_EXCHANGE_DATA, STATE_PRIUS_SEND_REQ, STATE_PRIUS_SEND_HTM, STATE_P...
by Dilbert
Fri Feb 05, 2021 12:56 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Yep one starts @ state 0 (lexus) and prius/auris/yaris starts @ state 5. If we want to support the rav4 Tripple inverter we could start @ state 10 etc...
by Dilbert
Fri Feb 05, 2021 11:38 am
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

I had a look at the FOC firmware today, there is some nice code in there that could possibly be re-used for this application to keep things similar enough. Although i want to try out the simple logic above before trying to do anythign more complex. Also i'm thinking long term the likes of the direct...
by Dilbert
Thu Feb 04, 2021 7:56 pm
Forum: Toyota/Lexus
Topic: GS450H Inverter with a Leaf Motor?
Replies: 2
Views: 856

Re: GS450H Inverter with a Leaf Motor?

Get the leaf inverter, it's controlled over CAN and I believe the Lexus VCU and leaf VCU are very similar, so leaf software might run on the Lexus one. The new vcu will definitely do both.
by Dilbert
Thu Feb 04, 2021 7:28 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Here are the MG2 speed and torque for a drive cycle, this should give us a starting point for the torque during the various stages of regen etc..
by Dilbert
Thu Feb 04, 2021 5:20 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

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 t...
by Dilbert
Thu Feb 04, 2021 12:40 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

OK I captured a good bit more data from the Auris today while it was driving. The data capture and processing worked fine. I've added a feature to the python script so I can downsample the data to speed up processing and graphing. The graph below shows MG2 torque during a drive cycle and the re-gen ...
by Dilbert
Tue Feb 02, 2021 1:47 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

I've assumed that a positive torque value results in a positive motor speed value and vice-versa. Also the values of 200 and 2000 are guestimates, the Auris is about 200 to creep forward on level ground. It would be nice to make some variables for the values, so the different re-gen levels could be ...
by Dilbert
Mon Feb 01, 2021 9:12 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 183800

Re: The ZombieVerter VCU Project

Might something like this get us some regen braking:- s32fp utils::CalcRegen( int16_t throttle, int16_t motor_speed, int16_t brake){ int16_t torque; if(throttle > 0){ //let the throttle set the torque directly torque = throttle; // add in the map function } else{ //no throttle applied so see if we n...