GUI app is done.
Now the C++ Class which will be fed with this data

This can be used for all sort of mappings/tune-ings not only charging so i kept it Universal. (so maybe a move to the VCU section is better?).
I suspect that's a result of crappy Chinese software in the bus not having been tested on many (non-Chinese) chargers, coupled with the innate crapness of the CCS standardJack Bauer wrote: ↑Mon Jun 14, 2021 7:30 am
On another note given my recent experiences this is worth a read to the end :
https://www.cornwalllive.com/news/cornw ... en-5524525
there is also:Jack Bauer wrote: ↑Mon Jun 14, 2021 9:16 am Found some flags in LIM can messages for :
Current limit reached,
Voltage Limit reached,
Power limit reached,
Battery fault,
Charger fault.
Also I have a contact in the company who run the Tritium units and go this response re yesterday's 8 amp issue :
I have just reviewed the status of your charging attempts and the following error message is being received 'the voltage which defines the control pilot state is incorrect - vehicle side suspected to be at fault'.
Could you add the flags to the DBC?Jack Bauer wrote: ↑Mon Jun 14, 2021 9:16 am Found some flags in LIM can messages for :
Current limit reached,
Voltage Limit reached,
Power limit reached,
Battery fault,
Charger fault.
Also I have a contact in the company who run the Tritium units and go this response re yesterday's 8 amp issue :
I have just reviewed the status of your charging attempts and the following error message is being received 'the voltage which defines the control pilot state is incorrect - vehicle side suspected to be at fault'.
I did some changes to the pinout and added a few other thigs to the wiki.Jack Bauer wrote: ↑Wed Jun 16, 2021 6:57 am Sure would be great if the wiki was being kept up to date wouldn't it? Anyway, I'm beyond asking people at this stage. Do whatever works.
Thanks for the corrections. I changed the pinouts in the wiki.muehlpower wrote: ↑Wed Jun 16, 2021 12:42 pm your graphics are good and almost correct. You should also add the main contactors. Make the voltage inputs of the isa shunt between the main and DC contactors and the third voltage input directly to the battery. The main contactors must also be controlled including the pre-charge relay, e.g. from the VCU. On the charge port only the voltage is detected, no amps. On my LIM 1B-1 and 1B-2 are not connected (not populated on the LIM PCB) 1B-14 is in the LIM connectet to GND. 2B-6 is on US models (CCS-1) connected to PP (2B-2).
This doesn't make sense. If the vehicle doesn't put the pilot voltage into the right state, charging cannot/should not happen. It's not a "well we will give you 8 amps" sort of thing... The low level pilot (1kHz square wave) is meant as a safety feature, so it shouldn't be ignored, and should easily be handled correctly by the LIM. I suspect something else is causing it with the Tritium. Try to get another charge on one (ideally a different machine, same model), if you can.Jack Bauer wrote: ↑Mon Jun 14, 2021 9:16 am I have just reviewed the status of your charging attempts and the following error message is being received 'the voltage which defines the control pilot state is incorrect - vehicle side suspected to be at fault'.
Ah, after further review, the first PreChargeReq to the charger is 415.1, but subsequent PreChargeReq messages are that of the pack voltage. Strange. Still have never seen that value vary over the course of pre charge with other vehicles.CCSknowitall wrote: ↑Wed Jun 16, 2021 8:22 pmFor precharge, in the case of my log, the LIM is asking for 415.1V, but closing in at the actual pack voltage of ~370V. That's strange behavior that I haven't seen before with any other vehicle. This may be a bug in whatever controls the LIM (VCM?) as I believe you were able to command an exact value. OR it could mean that there is one max value register on the CAN bus and you need to adjust it after precharge (seems that BMW does not do this).
Is the isolation check not for the charging cable before the EV closes the charging contactors?CCSknowitall wrote: ↑Wed Jun 16, 2021 8:46 pm Oh, and one more thing - Isolation monitoring. The poor EV coach article reminded me.
Isolation detection under normal (non-DC charging) conditions is handled by the BMS or other vehicle subsystems. However, during DC charging, the charger takes over this task. Hence the isolation status parameters in the messages.
I actually think the issue is hardware, not software. These stations are likely complaining about ether low isolation resistance, or capacitance. But, CCS won't say except for isolation fault. Essentially, some station models are more picky (or more lax) about this than others. You may encounter this in your builds, but what exactly causes it is beyond my area of expertise, but I have seen it in certain "non-production" vehicles before.
The DC station’s isolation monitoring is active during cable check, correct. But also the DC station takes over isolation monitoring during DC charging because you can’t have two isolation monitoring circuits active at the same time. The way I understand it is that the vehicles system creates a small path between DC + and chassis, as well as DC - and chassis (not necessarily both at the same time) in order to determine if there is a larger problem. Since the vehicle system is creating this path, it would be detected by the charger. So, for DC charging the vehicle isolation monitoring is switched off, and the station one takes over.bitterandreal wrote: ↑Thu Jun 17, 2021 8:00 am Is the isolation check not for the charging cable before the EV closes the charging contactors?
Internal EV isolation should always be monitored by the EV itself.
That might not be the lim here!Jack Bauer wrote: ↑Thu Jun 17, 2021 10:31 am Ionity ABB : Fails at init stage and display as per attached pic : https://github.com/damienmaguire/BMW-i3 ... _e461.2csv