QCA7000 Foccci+Clara User thread

Development and discussion of fast charging systems eg Chademo , CCS etc
User avatar
muehlpower
Posts: 750
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 17 times
Been thanked: 168 times

Re: QCA7000 Foccci+Clara User thread

Post by muehlpower »

With my AC charging implementation, locking works as long as the two treshholds are the same or with feedback if the mechanism is not blocked. A mechanical opening remains unnoticed. With AcObcState I have not found a value that unlocks again. I could help myself if I use the new ActuatorTest for closing and opening, then only the switching of the 1k3 resistor remains for AcObcState, since I don't use the LED control anyway.
User avatar
uhi22
Posts: 1143
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 231 times
Been thanked: 638 times

Re: QCA7000 Foccci+Clara User thread

Post by uhi22 »

Does UdcDivider 2.72 not work?
User avatar
muehlpower
Posts: 750
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 17 times
Been thanked: 168 times

Re: QCA7000 Foccci+Clara User thread

Post by muehlpower »

I didn't try any decimal numbers, but you're right. Now it works and I get 320V.
User avatar
uhi22
Posts: 1143
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 231 times
Been thanked: 638 times

Re: QCA7000 Foccci+Clara User thread

Post by uhi22 »

muehlpower wrote: Wed May 07, 2025 2:30 pm A mechanical opening remains unnoticed
Now introduced a parameter to select the intended lock control behavior: LockControlVariant
with the possibilities
0=TimeBased_VirtualFeedback. The motor is controlled for the LockRunTime, once a new request comes in. The hardware feedback is ignored. The feedback in the spot value LockState is calculated in software, just based on the time.

1=TimeBased_HwFeedback. The motor is controlled for the LockRunTime, once a new request comes in. Independing of the actuation, the hardware feedback is always transferred into the spot value LockState. This only will have the states Closed or Open. No intermediate states Opening or Closing. Not sure whether this needs to be improved.

2=FeedbackBased. This is the old behavior. Motor is driven as long as the target state is not reached. Risk for smoke. Some unclear implementation for the "states in between", in two dimensions: Level-wise, what shall happen if the analog feedback is in the middle range. And time wise, do we need to artificially create the states Opening and Closing even we have a digital feedback switch. Needs to be analyzed whether we want to keep / improve this behavior.

So for the muehlpower use case, the option TimeBased_HwFeedback should be the solution.

Binaries: Build #101 in https://github.com/uhi22/ccs32clara/actions
User avatar
muehlpower
Posts: 750
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 17 times
Been thanked: 168 times

Re: QCA7000 Foccci+Clara User thread

Post by muehlpower »

I have installed the new software and adapted my programming. It works well. My system is activated with a button (white light). If nothing is plugged in within 30 seconds, it is deactivated again. After plugging it in, it locks, regardless of the PWM (orange light). If a suitable AC PWM is present, the main contactors are closed and the control unit for the cooling and the DC-DC converter are started (blue light). As soon as the EVSE supplies current, charging begins (blue flashing light). The charging process is interrupted if the PWM is missing and then starts again. The main contactors are opened and the other things are also shut down. The second video shows an error when the plug is not fully inserted (red light).



User avatar
dougyip
Posts: 82
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 9 times
Been thanked: 16 times

Re: QCA7000 Foccci+Clara User thread

Post by dougyip »

I've been successfully charging our race car since last year on the same PhiHong charger - until the weekend. After one successful charge in the AM, either the charger, or Foccci, would fault out after the charge sequence had advanced to OpMode 11. The station seems functional as other vehicles have charged after we were unsuccessful. Unfortunately, I do not have any error logs, so I am planning to go back to the track again to test again and obtain logs if there are still issues. What is happening in OpMode 11? What can I check in the garage before heading back out to the track again?
User avatar
uhi22
Posts: 1143
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 231 times
Been thanked: 638 times

Re: QCA7000 Foccci+Clara User thread

Post by uhi22 »

The OpMode 11 is WaitForPreChargeResponse, so Foccci demands to the charger to set the voltage according to the battery voltage. This continues, and normally, if the charger output voltage matches the battery voltage, the next step is to close the contactors in OpMode 12.
If the precharge does not succeed, I can imagine the following root causes:
- Battery voltage which comes from BMS to Foccci is outside of the range which is supported by the charger.
- CAN mapping lost, so that no battery voltage comes to Foccci.
- Physical issue with the HV lines to the charge port, so that the charger is not able to reach the intended voltage.
- Parameters corrupted in Foccci.
- If you use a hardware voltage sense board: broken cable or something like this.
- ... maybe more ...

Before driving to the charger, you could first check Focccis parameters, and whether the battery voltage is correctly received.
When at the charger, the most helpful information is a log of Focccis serial line, this shows a lot of details which should quite clearly show the root cause.
Happy testing, hopefully it is only a small issue.
User avatar
dougyip
Posts: 82
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 9 times
Been thanked: 16 times

Re: QCA7000 Foccci+Clara User thread

Post by dougyip »

Thanks! Parameters look good. I'm using the HV Sense board, so maybe the calibration is out. I will check it and also test with option to use the Charger Input voltage instead of the HV Sense board.
User avatar
dougyip
Posts: 82
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 9 times
Been thanked: 16 times

Re: QCA7000 Foccci+Clara User thread

Post by dougyip »

Success! I changed the Inlet Voltage Source to the Charger Output Voltage and the system worked flawlessly. I'm using an older version of Clara that only has UDCDivider and no configurable UDCOffset. As a result, with just a single calibration point, my inlet voltage has always been 5-10V off. That's probably what got me into trouble last weekend. Thanks again for the help!
User avatar
Proton
Posts: 361
Joined: Sat May 06, 2023 2:23 am
Location: Georgia/US
Has thanked: 217 times
Been thanked: 54 times

Re: Tool to manage openinverter via CAN

Post by Proton »

johu wrote: Wed Oct 15, 2025 6:39 pm Clara updated https://github.com/uhi22/ccs32clara/com ... b48018e46f
Can Uhi make a video with the CCS board and explain all connections and how do they need to be connected to a CCS1 socket or ccs2 socket ?
I just bought a CCS1 socket with the cables and would like to know what I am getting into if I buy the board.
User avatar
johu
Site Admin
Posts: 6969
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 455 times
Been thanked: 1771 times
Contact:

Re: Tool to manage openinverter via CAN

Post by johu »

Proton wrote: Wed Oct 15, 2025 11:33 pm Can Uhi make a video with the CCS board
Read this https://openinverter.org/wiki/Foccci
good enough?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
uhi22
Posts: 1143
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 231 times
Been thanked: 638 times

Re: QCA7000 Foccci+Clara User thread

Post by uhi22 »

I would prefer the question-answer approach, with the goal to further extend the FAQ section in the Wiki (maintained by everyone). I think this makes the information more accessable and more agile than two hours of boring technical video.
User avatar
Proton
Posts: 361
Joined: Sat May 06, 2023 2:23 am
Location: Georgia/US
Has thanked: 217 times
Been thanked: 54 times

Re: QCA7000 Foccci+Clara User thread

Post by Proton »

uhi22 wrote: Thu Oct 16, 2025 5:16 am I would prefer the question-answer approach, with the goal to further extend the FAQ section in the Wiki (maintained by everyone). I think this makes the information more accessable and more agile than two hours of boring technical video.
For example this is the CCS1 (USA) socket I got from China:
photo_1_2025-10-16_15-58-28.jpg
photo_2_2025-10-16_15-58-28.jpg
photo_3_2025-10-16_15-58-28.jpg
photo_2025-10-16_16-09-16.jpg

I see CP in the wiki but not CS,

I do not see PIN1,PIN2,PIN3 and PIN4.

Would be nice to have a video with an explanation on what is each pin, what is does and how to connect it.

I have 3 temp probes. WIKI specifies a 10k resistance, but I do not know if I have to add one to mine.
User avatar
tom91
Posts: 2754
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 264 times
Been thanked: 717 times

Re: QCA7000 Foccci+Clara User thread

Post by tom91 »

Proton wrote: Thu Oct 16, 2025 8:05 pm I see CP in the wiki but not CS,

I do not see PIN1,PIN2,PIN3 and PIN4.

Would be nice to have a video with an explanation on what is each pin, what is does and how to connect it.
If you cannot work this out, you will struggle to get FOCCCI programmed and working properly. Let alone implement this safely so I strongly advise you against doing this till you understand CCS charging and BMS systems and their interactions.

Start by creating a data sheet of which goes where on your connector if you do not have a datasheet.

Hint on your temps is right there in the wiki pin table, just read and think how does a thermistor work they are label T1+ and T1- on purpose.

Code: Select all

TEMP1	A1	A1	Power pin temperature sensor. It is pulled up to 3.3V with 10k and the sensor must pull down to GND. Sensor characteristics are configurable in software
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
uhi22
Posts: 1143
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 231 times
Been thanked: 638 times

Re: QCA7000 Foccci+Clara User thread

Post by uhi22 »

Since we do not know the data sheet of this charge port, we just can make some guesses, and you need a multimeter to check whether they are true.

Seems we have two temperatur sensors. Measure the resistance between T1+ and T1-, and between T2+ and T2-. They should be nearly equal. Measure in the other direction. Should lead to the same results. This would confirm, that we have two temperature-dependent resistors (and not other sensors like diodes or onewire or whatever). If these are resistors (NTCs), connect one end to ground and the other to the Focccies temperature inputs. Foccci has three of them, but we have only two in the charge port. This does not matter, we leave the third unconnected. Foccci interprets this a large negative temperature, this will not hurt, everything fine. Since there are different possibilies of the NTC characteristics, it is necessary to set parameters for the NTC. You can start with default settings, and check whether Foccci shows the correct temperature. Try at leat with two different temperaturs (put the inlet into the kitchen stove and heat e.g. to 80°C). If there is no data sheet of the NTC, it may need some measurements to find out the parameters.

Next is the CP, this is easy, just connect to Focccis CP.

The CS is unusual, but I guess they connected it to PP. Use multimeter to confirm. Also measure the resistance between PP and PE. Some charge ports have a resistor inside, some not. Foccci needs to know this.

The most difficult is the charge port locking. Usually this consists of a DC motor and a feedback switch. So I assume: Two lines for the motor, two lines for the switch. Try to find out using resistance measurement, which pins are the motor. If this is clear, try with a lab power supply to actuate the motor in both directions. Start with 5V and current limited to 100mA, to not destroy anything. If this works, check wether it looks okay to use 12V. If the motor turns fine with 12V in both directions, you can connect the motor lines to Focccis motor outputs. Connecting the feedback lines is optionally, you can configure Foccci to just operate the motor for one second. If you want to use the feedback, measure the resistance in locked and unlocked position, and connect one feedback line to ground and one to the Focccis lock feedback input. Set the parameters in Foccci to match the physical situation.

PE is chassis ground, and needs to have a short path to Focccis ground.

(Edit: Added more details to the pin description in the wiki.)
Post Reply