Quick update: I attached the 5V power supply to a relay of the Raspberry Pi I'm using, and came up with this quick hack:
https://gist.github.com/lewurm/e994ae4d ... 55e465ca61
So basically the step-up converter gets enabled on the first
PreChargeReq. And indeed, that makes the situation much better, not a single welding warning today! Phew
But: For
PreChargeReq the requested voltage by the car is, I guess, the current voltage of the battery pack. SoC was 38%, and the requested voltage 352V. Once precharging is successful, the car sends a
CurrentDemandReq with
EVTargetVoltage of 423V (which also matches the
EVMaximumVoltageLimit). I was able to tweak the step-up converter with its poti so that I reached a voltage that both requests have been happy with. Otherwise it could happen that either (1) precharging never succeeded, and the car aborted the communication after a few seconds, or (2) precharging was successful, the car starts to send
CurrentDemandReq messages but aborts the charging quickly after a few seconds.
Later into the evening, the SoC was at 35% and 332V requested for precharging and I didn't manage to find a good sweetspot anymore. But anyway... it sounds like I really need something that I can control the voltage with precisely. Before I get into that, I'll try to do a "two staged" setup with the step-up converter: the first relay having a resistor inbetween so that its input voltage is a bit lower, and the second relay the regular 5V voltage directly from the power supply. So hopefully I can get good values once for
PreChargeReq and then for
CurrentDemandReq this way. FWIW the response time on the output of the step-up converter is pretty quick once voltage is applied on its input.
Another good news: I managed to see the correct voltage on the Web UI of my inverter (a Kostal Plenticore Plus) coming from the car! Alas I messed up pre-charging (I realized it too late that it actually precharged, aborted too early... tried again, but at that point the inverter already considered the battery as "deeply discharged"). I wanted to redo the experiment of course after restarting the inverter, but couldn't get pass
CurrentDemandReq anymore. For another time