Re: Outlander VCU - Rear inverter, Charger and BMS
Posted: Thu Feb 22, 2024 12:55 pm
I'm interested in what have been doing with the pedal mapping.
I have my outlander inverter vcu running as very simple code on a Teensy 4.0 It receives data from the main Teensy 4.1 such as what gear the car is in and a regen parameter for each gear the user can modify. My aim was to keep the mission critical stuff away from the dash/display stuff in case of performance issues or crashes. The number of can messages flying about is staggering and keeps a 4.1 pretty busy. The inverter seems very chatty, i see 1500 msgs/sec on that channel and approx 400/sec on the other 2 channels. I need to apply some filtering other than in code really as much of it is of no interest and maintaining 10 msec update on the 285 is a challenge with the dash update. The vcu shares a less busy can channel with the 4.1
In the first instance I coded in a direct map between the usable pedal range and 0-2000 for the torque request. I had intended to added mapping and 3 options later but now i have it working i can't see see the value in doing so. If i plant my foot, the code requests maximum torque and the inverter sorts it out and the car pulls cleanly away. If i pootling about, i don't plant my foot. The weight of the car irons out any jolts there might be, but i suspect there are none due to logic in the inverter rather than my code.
the only outstanding item for me is to ramp off the regen when the driver comes off the brakes. The ramp on over 1500 msec works well and allows for high regen values, currently around 600 of the 2000 available.
I like this combo for adequate performance.
I have my outlander inverter vcu running as very simple code on a Teensy 4.0 It receives data from the main Teensy 4.1 such as what gear the car is in and a regen parameter for each gear the user can modify. My aim was to keep the mission critical stuff away from the dash/display stuff in case of performance issues or crashes. The number of can messages flying about is staggering and keeps a 4.1 pretty busy. The inverter seems very chatty, i see 1500 msgs/sec on that channel and approx 400/sec on the other 2 channels. I need to apply some filtering other than in code really as much of it is of no interest and maintaining 10 msec update on the 285 is a challenge with the dash update. The vcu shares a less busy can channel with the 4.1
In the first instance I coded in a direct map between the usable pedal range and 0-2000 for the torque request. I had intended to added mapping and 3 options later but now i have it working i can't see see the value in doing so. If i plant my foot, the code requests maximum torque and the inverter sorts it out and the car pulls cleanly away. If i pootling about, i don't plant my foot. The weight of the car irons out any jolts there might be, but i suspect there are none due to logic in the inverter rather than my code.
the only outstanding item for me is to ramp off the regen when the driver comes off the brakes. The ramp on over 1500 msec works well and allows for high regen values, currently around 600 of the 2000 available.
I like this combo for adequate performance.