The Focus CHAdeMO mod returns - Part 2

Ford Focus Electric Forum

Help Support Ford Focus Electric Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Anti_Climax

Well-known member
Joined
May 20, 2016
Messages
700
Location
The Valley of the Sun
I've been going slow with setting up Sefs' CHAdeMO hardware on my Focus. I pulled apart the electronics and diagrammed everything up for reference as I went.

I started with this:
DeoC6Z2.jpg


And got to this:
zLOZItT.jpg


I then re-wired everything in a bit more permanent manner
NlmBoWE.jpg
FAcNjcK.jpg


And installed it under the hood
tLTnBvE.jpg
dV8G5mt.jpg


At this point, everything but the car side CAN Bus and 12V DC connections have been made. I reconnected the HVDC battery and 12V and the car came back on without any errors or warnings. I should have it ready to test by the end of this weekend. Figure I'll take it to the office and try it on the ChargePoint Express 250 we have there.
 
CONGRATULATIONS! :D

Does the charging status on the charger screen accurately reflect the true charging status?
I ask because it looks like the screen is showing 2% battery capacity. Is that right? Or are my eyes failing me again?
 
I ran it down and went there with a very low battery so 2% is probably right. At this point I barely look at the GOM - I have a scan gauge that shows me real time data on battery SoC and energy-to-empty. It did seem that the values reporting to the station were not correct as it went along, but the control program was written for a Focus with the smaller battery. Some of the math and bit conversions for what the car reports are really weird, so I would not at all be surprised if reporting the larger battery values requires a different encoding method.

Along the same lines, I need to try and figure out if there have been any changes in the SOBDM that relate to that larger battery. When Sefs built the stack of chargers he made sure to have them setup with the same FW version as his onboard charger, which would ensure that their behavior would match the normal on-board charger. There are temperature related de-rating factors, voltage thresholds, etc that may not be quite the same for this battery. It's just an unknown at this point.

I've been reading through the code and writing verbose comments on what is being done. It seems like it should be possible to extend the car side function to work with multiple vehicles so long as their specific data points can be defined. Essentially making "profiles" for different models. To that end, I am actually looking at the possibility of consolidating all those various boards into a single shield that could mount on top of the Arduino Due that is running this right now.

All the signals need to be well isolated electrically or the DC charger will refuse to operate. All the car side stuff is separated from the charger signals by way of optoisolators and similar components. The large board in the top left of the photo is an isolated power supply. I need to figure out just how much load is on it and see if a smaller board level component can do the job while providing enough impedance to ground. If that is possible, I should be able to layout a shield sized board that would just need to have the signal wires from the CHAdeMO port connected along with the control lines that trigger the contactors. You'd have 12V/Ground going into the Due along with the car side CAN connections and that would be it.

I can't guarantee how quickly this stuff will get done, but I'll certainly pass along updates here.
 
Nice to see this getting more use after sefs moved on the the model 3. I got to see his setup years ago after he had recently sorted this all out and had his "super charger" in his garage.

I wish I had the references and knowledge of how the car's systems work in order to be able to figure out how to shoehorn a CSS plug under the hood and not spend a fortune doing it.
 
I'm actually working on CCS as well. I've gotten a copy of the ISO 15118 Manual and I'm starting to read through it. His hardware had the J1772 port for the Brusa, I could swap that our for the CCS/J1772 and route the DC bus wires into another set of contactors (so using one DC port doesn't expose HVDC on the pins of the other)

It will need additional/different processing hardware than what it there now - A 12V compatible PLC, a device that can process IPv6 network traffic, manage an SSL connection and process/parse EXI (binary encoded XML). After that I have to work on the actual implementation - which I hear is a nightmare. But I'm just trying to get the most basic plug and charge behavior, so I'm hopeful.

Otherwise, I've spent the last few days refining a circuit that would implement the CHAdeMO mod on an adruino "shield" , drastically simplifying the setup.
 
Good to hear. Keep us posted.

While the capability to DCFC would be nice, there are essentially 0 useful CHAdeMO or CSS chargers within the piddly range of my '14 FFE. CSS has been stewing in the back of my mind thinking about a future when CSS chargers are prevalent around here and If/when it becomes economically viable to retrofit a higher capacity battery where I could use CSS to actually travel intercity.
 
Should be getting my car back today. Been thinking about the percentages shown during my test session and I think I figured out the discrepancy.

It's my understanding that the Focus ropes off around 15% of the battery capacity to minimize wear by preventing full discharge and avoiding a portion of the constant voltage charging phase near full. When I plugged in at 2%, the screen on the charger was showing 7%, so my guess is that it's getting the real and true SoC of the cells and not the reported SoC that's confined to the allowed 85%. Of course my ScanGauge hardware shows that a full charge is 95% SoC, so there's still something that needs to be factored in.

I'm debating if I should change the data to match the two up, but it's not like I can't just correct it mentally. When a newer Focus uses CCS, does the SoC logged at the station match the dash or does it seem to deviate similarly?

Other than that, I believe I have the CHAdeMO control hardware mapped to a credit card sized Arduino Mega shield - looks like around $80 in parts and about $50 of that is the isolated power module and CAN transceiver chip. I did have the foresight to include a header that lets one feed in isolated 5V from an external source if you already have one available.

I'm imagining a case mounting directly over the TCM, bus bars/wires tapped down through the cover into the battery bus and connected to the CHAdeMO contactors. You could have the port mounted on the case with the Arduino in there or have the port remote with the Arduino mounted under it and tied to the TCM hardware with just the power lines and contactor control lines running between.

Still reading through the CCS guide doc, still hopeful. Honestly, I would love to create some very basic hardware that could adapt CCS to CHAdeMO by acting as an intermediary for communications - but smarter folks than me have probably tried. Guess we'll see.
 
Any chance you can share the code? I am trying to install chademo on my 2013 ffe and am getting stalled by the code side of things. I know javascript like the back of my hand but not any c++ and so trying to modify code not written for the ffe is proving difficult.

Pm me if you don't want it to go public, anything helps.

Thanks
 
Anti_Climax said:
I'm debating if I should change the data to match the two up, but it's not like I can't just correct it mentally. When a newer Focus uses CCS, does the SoC logged at the station match the dash or does it seem to deviate similarly?

Your project is awesome. Thanks for the updates!

I just checked my 2017 FFE that was plugged into an Electricify America CCS charging station. The charging station was reporting a SOC of 60%, and my FFE reported 61% on the Charge Settings menu of the entertainment display. There was a consistent 1% difference between the FFE and the charging station.

Not sure if this behavior is the same with CCS charging stations other than Electricify America brand.
 
I wouldn't expect a difference as the vehicle would be sending a value to the station rather than the station calculating it from other data.

I was mostly wondering if the car sends the raw pack SoC (that stops at like 90% when the car is "full") or the dash SoC. Sounds like the latter or at least a value very close to it.
 
Has anyone ever tried to control the battery's own contactors to implement dcfc?

I'm trying to find a way to do that.
 
I have a feeling you'd start seeing faults from the SOBDM thinking the contactors have welded themselves closed.

It would also mean the pins on your DC socket would be hot any time the car is on.
 
my idea is to put a second due in between the becm and the rest of the car to isolate the becm as to prevent any errors

and yes the dc on the port would be hot all the time the car is on but since i have it under the hood and it also has a cover on it i am not concerned about that
 
Back
Top