QCA7000 Foccci+Clara User thread
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
My next problem is temperature measurement. Foccci seems to want an NTC, but my socket probably has a PT1000 installed.
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
Very good data. This means, the charger has half a minute delay between the physical voltage on its DC pins and the reported voltage in the communication. Or do I interpret the time axis wrong @johu?
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
We can add PT1000 in the software. Further tracking in github issue https://github.com/uhi22/ccs32clara/issues/64muehlpower wrote: ↑Tue Jan 06, 2026 12:15 pm My next problem is temperature measurement. Foccci seems to want an NTC, but my socket probably has a PT1000 installed.
@muehlpower Just check the resistance on your socket at two different temperatures, to confirm the PT1000.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- tom91
- Posts: 2962
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bicester, Oxfordshire
- Has thanked: 328 times
- Been thanked: 847 times
Re: QCA7000 Foccci+Clara User thread
Note current Foccci does not do anything but spit it out in spotvalues. (please correct me if things moved on since I last looked)
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
Clara/Foccci is limiting the charge current with increasing port temperature. https://github.com/uhi22/ccs32clara/blo ... ce.cpp#L90
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
-
maciek16c
- Posts: 28
- Joined: Mon May 01, 2023 7:40 pm
- Location: Poland
- Has thanked: 2 times
- Been thanked: 12 times
Re: QCA7000 Foccci+Clara User thread
Is it possible to use Foccci with 800V architecture? I know older chargers have 500V limit but is it just hardware problem or newer protocol like ISO 15118-20 is also needed?
- johu
- Site Admin
- Posts: 7182
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 552 times
- Been thanked: 1913 times
- Contact:
Re: QCA7000 Foccci+Clara User thread
Should work as is because we are already using Alpitronic
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
The sensor appears to be a PT1000. I can measure 1090 ohms at room temperature, and after placing it in 40° water, it was 1155 ohms. With the 12-bit ADC, this results in 84 digits in the range from 0° to 70°. This is not optimal; a lower-resistance pull-up would be better.
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
A PT1000 seems to be the rule rather than the exception.
https://www.te.com/de/products/connecto ... =pgp-story
http://de.evsegroup.com/150a-200a-ccs-t ... s-product/
https://www.phoenixcontact.com/de-lu/bus-inlets
https://www.sailtran.com/products/EV-ch ... ocket.html
https://www.te.com/de/products/connecto ... =pgp-story
http://de.evsegroup.com/150a-200a-ccs-t ... s-product/
https://www.phoenixcontact.com/de-lu/bus-inlets
https://www.sailtran.com/products/EV-ch ... ocket.html
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
To tolerate the time offset between the pyhsical voltage and the EvsePresentVoltage, added a two-seconds tolerance in the software.muehlpower wrote: ↑Tue Jan 06, 2026 12:06 pm I have made further attempts. When I take the DC voltage from the charger output, it works. I think the problem is checking the difference in connection with a time offset!
Binaries: https://github.com/uhi22/ccs32clara/act ... 0752458118
Github issue: https://github.com/uhi22/ccs32clara/issues/52
Github commit: https://github.com/uhi22/ccs32clara/com ... cf9b11a9f9
Ready for tests @muehlpower
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
Created issue for further tracking the TP1000 topic: https://github.com/uhi22/ccs32clara/issues/64muehlpower wrote: ↑Tue Jan 06, 2026 2:46 pm A PT1000 seems to be the rule rather than the exception.
(Edit) First implementation of PT1000 available:
https://github.com/uhi22/ccs32clara/act ... 0755353494
Added a new parameter TempSensType, to select either NTC or PT1000.
This version is completely untested. Ready for test @muehlpower
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
It is not really clear. If I remember correctly, the DIN70121 is 500V. It is not clear, whether this is a fact or a rumor. The protocol implementation does not have a voltage limit at all. Foccci/Clara use the DIN spec as default. It depends on the charger, whether it allows more than 500V also with DIN. I'm not aware, that somebody tested this scenario, so we need a volunteer
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
-
maciek16c
- Posts: 28
- Joined: Mon May 01, 2023 7:40 pm
- Location: Poland
- Has thanked: 2 times
- Been thanked: 12 times
Re: QCA7000 Foccci+Clara User thread
I will try it but first have to find the problem with communication to the charger. Btw, is anyone working on ISO2? I found interesting repository with ISO2 decoder: https://github.com/EVerest/libcbv2g
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
New software available
https://github.com/uhi22/ccs32clara/act ... 0757491339
which attemts to improve the following three topics:
1. Time tolerance of voltage plausibilization
2. PT1000 support
3. Logged voltages in case of deviation between physical and logical voltage were factor 32 wrong.
Ready for test @muehlpower
https://github.com/uhi22/ccs32clara/act ... 0757491339
which attemts to improve the following three topics:
1. Time tolerance of voltage plausibilization
2. PT1000 support
3. Logged voltages in case of deviation between physical and logical voltage were factor 32 wrong.
Ready for test @muehlpower
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
Seems to be working. The log is again about 10 seconds long and also shows the voltage curve when I press the cancel button to stop it.
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
It's interesting that when I plug it in and wait a little while before starting the CCS charger, i.e., when the 5% comes later, charging doesn't work. Also, I've never managed to do a firmware update via the CAN adapter. It starts, and after 10% of the bar is filled, the connection breaks. Then the only thing that helps is ST-link. Am I doing something wrong?
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
My last post referred to 44.116. Now I have tried 44.119. Pt1000 with 1000 ohms shows:
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
Improved software: https://github.com/uhi22/ccs32clara/act ... 0760825425
It treats the unconnected temperature sensor 3 as "invalid", which means -50°C, so it does not hurt the max temperature.
The big deviation (64°C in the picture versus expected 0°C with 1000ohms) needs more analysis. To understand the issue, I added two spot values
temp1Adc and temp1Resistance. What do they show when connecting a 1000ohm resistor? We may have a tolerance problem with the pull-up, or a ground shift problem, or something else.
It treats the unconnected temperature sensor 3 as "invalid", which means -50°C, so it does not hurt the max temperature.
The big deviation (64°C in the picture versus expected 0°C with 1000ohms) needs more analysis. To understand the issue, I added two spot values
temp1Adc and temp1Resistance. What do they show when connecting a 1000ohm resistor? We may have a tolerance problem with the pull-up, or a ground shift problem, or something else.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
Try with 44,121. I connected to temp3 1k, 1k2, and 1k5. 1k ->25.3°, 1k2->76.2°, 1k5->155.1°. temp1 and temp2 are connected to the real sensors at approx. 22°. The intervals look good. The two built-in sensors have at 22° 1087 ohms and 1088 ohms, measured at the disconnected plug from the Foccci, i.e., with the entire cable to the CCS socket. This fits exactly to 22.5°.
- johu
- Site Admin
- Posts: 7182
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 552 times
- Been thanked: 1913 times
- Contact:
Re: QCA7000 Foccci+Clara User thread
Are you running 500k baudrate?muehlpower wrote: ↑Tue Jan 06, 2026 6:49 pm Also, I've never managed to do a firmware update via the CAN adapter. It starts, and after 10% of the bar is filled, the connection breaks. Then the only thing that helps is ST-link. Am I doing something wrong?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
Confirmed the wrong ADC values for the temperature inputs on my desk. Further discussion in the developer thread https://openinverter.org/forum/viewtopi ... 749#p88749
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
- uhi22
- Posts: 1243
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 244 times
- Been thanked: 684 times
Re: QCA7000 Foccci+Clara User thread
Regarding update via web interface: make sure, that you are flashing the bin file, not the hex file. But also on my side, the update via web interface crashes with a probability of 10 to 30%. Usually the first time per day works fine. Not a satisfying situation.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
- muehlpower
- Posts: 807
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 18 times
- Been thanked: 186 times
Re: QCA7000 Foccci+Clara User thread
I used the bin file.
Doing it with the ST-Link is no big deal. I do the same with the drive unit. To do this, I ran a connector with the appropriate pins to the outside.