Search found 198 matches

by aot93
Wed Mar 27, 2024 6:34 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Could it be that in map 3 the ramping is not used, so you could be getting quite big jumps in torque requests?
by aot93
Sun Mar 24, 2024 12:46 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Ok I will try to explain: The idea is based on how a basic ignition map works in an ice, - return an advance value based on input of speed and load. The maps act like a spread sheet for us to look up and return a value based on 2 inputs; for the x axis (columns) this is the throttle position as read...
by aot93
Sat Feb 17, 2024 11:00 am
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Yes it should be a lower number, I'm not sure where you are doing the flip for reverse now, in OEM orientation -20 should map to -200nm at 100% pedal. Throttle position is just to add a little extra dead zone to the pedal to catch accidental blips, you could set this to 1. Personally i would keep to...
by aot93
Fri Feb 16, 2024 2:25 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Yes that's the torque and speed limit in reverse.

Change the -6 for more torque
by aot93
Tue Feb 13, 2024 4:07 pm
Forum: Projects
Topic: [WIP] BMW Z3
Replies: 335
Views: 172117

Re: [WIP] BMW Z3

No not public, agree that unofficial code can cause a lot of headaches!

I always change the version number as well so it's easier to spot if these things get in to the wild.
by aot93
Tue Feb 13, 2024 3:29 pm
Forum: Projects
Topic: [WIP] BMW Z3
Replies: 335
Views: 172117

Re: [WIP] BMW Z3

I can send you a version with a hardcoded value for testing purposes.

What zombie fw are you currently using?
by aot93
Tue Feb 13, 2024 2:17 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Ok so I think we can say your application does not need any ramping to control wheelspin. I would suggested removing it and simplifying the code, your fork is quite far from mine now so It's hard to debug any issues you are having I would be interested to see if you can actually command (and get) mo...
by aot93
Tue Feb 13, 2024 2:12 pm
Forum: Projects
Topic: [WIP] BMW Z3
Replies: 335
Views: 172117

Re: [WIP] BMW Z3

I have the same temp over read on mine also whilst bench testing. Temp shoots up once the motor is turning. I came across some other instances as well notably: https://openinverter.org/forum/viewtopic.php?p=50409#p50409 I've tried moving the bytes where this temp is taken from in the code but no suc...
by aot93
Sun Feb 11, 2024 12:11 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Did you also change or comment out the over torque check in the code?

I ask as a value of 15 in the map would be 150% of 200nm so 300nm
Would be interesting to see how much the inverter thinks it's putting out.
by aot93
Thu Feb 08, 2024 11:37 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

That's odd.. the built in flash is all I've ever used.

Could be a library mis match or something, if I get a chance I'll try building your code here to see if I can replicate.
by aot93
Thu Feb 08, 2024 8:28 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Hi Arber, Good to hear you are driving. For the low power in the different modes you should play with the maps to get the response you want. I would suggest using all 1's in map 3 this will give a straight mapping of pedal position to torque, ie 50% pedal 100nm torque. To note there is also no torqu...
by aot93
Tue Feb 06, 2024 1:52 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Hi Mark,
I would be most grateful to acquire your latest PCBs if you have any available
drop me a PM with your details, I have VCU boards but no BMS ones..
by aot93
Tue Feb 06, 2024 1:44 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Hi Arber, I will take a look at your code and report back if i spot anything. As for the regen, the basic idea is a regen value is acquired from the map using throttle position and speed. There are some delays and everything gets incremented to ensure smooth driving. I found all the above necessary ...
by aot93
Sun Feb 04, 2024 4:07 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

MinTorque is not used in the code. Not sure on why the fan is not turning on, does it work using the test options. Well the you could be getting de-ratted as there is no specific values for max discharge. There should not be a condition where the motor 'sticks' i suspect something do with the mounti...
by aot93
Sat Feb 03, 2024 12:12 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Small but very important detail, this is all coded for normal oem orientation. Rather than reversing all the code it might be worth just inverting the incoming RPM messages void canRX_289(const CAN_message_t &msg) { motorTorque = ((((msg.buf[0] * 256) + msg.buf[1]) - 10000) / 10); // Motor Torqu...
by aot93
Fri Feb 02, 2024 7:07 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

I actually don't know, I've not really tried to exceed the published torque.

It's more than I need in my application.
by aot93
Fri Feb 02, 2024 12:59 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

I limit speed in reverse by setting torque request to 0 when in reverse this works well for me but not exactly smooth. if (motorRPM < -2000) { torqueRequest = 0; } } In all cases if torque goes outside of the accepted norms ( -+200nm) then we set torque request to zero There is also a crude step dow...
by aot93
Thu Jan 18, 2024 2:19 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

BMS_packvoltage is voltage as read from the BMS. No the VCU will not go in error state if pre-charge conditions are not met, in fact there is currently no max pre-charge time so it will just sit there waiting for the conditions to be met. The only exception here is if pre charge happens too quickly ...
by aot93
Tue Jan 16, 2024 10:45 am
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Good to hear your are making progress. regarding the pre-charge timers, the first one is a normal minimum time for pre-charge to occur and the second is to measure how long the pre - charge took, if it happens too quickly it could indicate a problem, or that you just turned the car on and off again ...
by aot93
Sat Jan 13, 2024 10:02 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Does it work using the output tests from the menu?

I've certainly damaged a few teensy whilst prototyping, but not once in the board. In all cases though the board has been completely unresponsive rather than just damaging an output.
by aot93
Sat Jan 13, 2024 9:52 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

My inverter is also P/N 9410A163.
I'll take a look at your log and see if I can make sense of it.
by aot93
Thu Jan 11, 2024 7:12 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Hi Arber, First off the reverse code is in the reverse swich case: digitalWrite(OUT12, HIGH); // Turn on the reversing lights if (throttlePosition > 5) { torqueRequest = throttlePosition * -6; // lets make the pedal less responsive inverterFunction = 0x03; if (motorRPM < -2000) { torqueRequest = 0; ...
by aot93
Tue Jan 09, 2024 11:04 am
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Hi Sorry for the lack of interaction, I'm traveling with work and have limited time at the moment. To answer a few questions - This is all coded for the motor mounted in the OEM position, so positive values will spin forward negative will spin backwards. My application uses motor and diff connected ...
by aot93
Tue Jan 02, 2024 10:01 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

Hi good work on the speedo :) I hope I have understood you correctly and i will try to explain; Ok so the way I thought this should work is the charger is controlled by the BMS and the VCU simply listens to a can message from the BMS telling it to go in to charging state (6). Now I think we covered ...
by aot93
Tue Jan 02, 2024 4:16 pm
Forum: Mitsubishi
Topic: Outlander VCU - Rear inverter, Charger and BMS
Replies: 392
Views: 977394

Re: Outlander VCU - Rear inverter, Charger and BMS

D39 and D38 are right next door so could jump across to those.

Before doing that can you test the teensy on a bread board or similar?
The diodes are there for input protection as we all know how easy it is to kill one of these boards.