CHAdeMO EVSE side information?

Development and discussion of fast charging systems eg Chademo , CCS etc
Post Reply
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

CHAdeMO EVSE side information?

Post by mdrobnak »

So this is what I have from the JLD505 github and Collin's EVTV video:

Code: Select all

pub fn params108(hv_can: &HVCAN) {
    let id: u16 = 0x108;
    let size: u8 = 8;
    let mut params108_frame = DataFrame::new(ID::BaseID(BaseID::new(id)));
    params108_frame.set_data_length(size.into());
    let params108 = params108_frame.data_as_mut();
    params108[0] = 0x00; // Weld check not supported.
    params108[1] = 60; // Max voltage frame.data.byte[1] + frame.data.byte[2] * 256;
    params108[2] = 0x00;
    params108[3] = 0x20; // Max Amps current available (not really...)
    params108[4] = 50; // Threshold voltage frame.data.byte[4] + frame.data.byte[5] * 256;
    params108[5] = 0x00;
    params108[6] = 0x00;
    params108[7] = 0x00;
    hv_can.transmit(&params108_frame.into()).ok();
}

pub fn status109(hv_can: &HVCAN) {
    let id: u16 = 0x109;
    let size: u8 = 8;
    let mut status109_frame = DataFrame::new(ID::BaseID(BaseID::new(id)));
    status109_frame.set_data_length(size.into());
    let status109 = status109_frame.data_as_mut();
    /* STATUS
     * define EVSE_STATUS_CHARGE        1 //charger is active
     * #define EVSE_STATUS_ERR          2 //something went wrong
     * #define EVSE_STATUS_CONNLOCK 4 //connector is currently locked
     * #define EVSE_STATUS_INCOMPAT 8 //params btwn vehicle and charger not compatible
     * #define EVSE_STATUS_BATTERR      16 //something wrong with battery?!
     * #define EVSE_STATUS_STOPPED      32 //charger is stopped
     */
    status109[0] = 0x02; // Protocol > 1 = 1.0
    status109[1] = 0x00; // Present voltage byte1 + 256*byte2
    status109[2] = 0x00;
    status109[3] = 0x00; // Current
    status109[4] = 0x00; // Reserved?
    status109[5] = 0x05; // Status
    status109[6] = 0xFF; // If < 0xFF then chgSecondsRemain = byte6 * 10;
    status109[7] = 0x10; // else chgSecondsRemain = byte7 * 60;
    hv_can.transmit(&status109_frame.into()).ok();
}

Anyone have the a description of the state machine? Or, more importantly, the analog connections?

I currently have 12 V on pin 2 and 0 V on pin 1, and CAN...and that's it. I feel like I'm missing something, and that's why the adapter isn't sending the 0x100, 0x101, and 0x102 frames. I only get the power-on bootup frame from Tesla.

It's unclear what to do with pins 4 and 10.

Any insight would be greatly appreciated.

-Matt
collin80
Posts: 110
Joined: Sun Aug 30, 2020 3:28 pm
Location: United States, Michigan
Been thanked: 4 times
Contact:

Re: CHAdeMO EVSE side information?

Post by collin80 »

Did you look at the documentation here?

https://github.com/collin80/JLD505/blob ... Manual.pdf

It does at least have a picture of the pins and where they go. It kind of talks about the process too but maybe not in enough detail for what you want. I vaguely remember about the chademo stuff but it's been a long time.
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

collin80 wrote: Tue Nov 24, 2020 8:56 pm Did you look at the documentation here?

https://github.com/collin80/JLD505/blob ... Manual.pdf

It does at least have a picture of the pins and where they go. It kind of talks about the process too but maybe not in enough detail for what you want. I vaguely remember about the chademo stuff but it's been a long time.
I imagine! That video was from like 2015 or 2017.
Yes I looked over it once, I'll give it another pass and see what I can make out of it.

-Matt
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

Ok, looks like:
Pin 7 is always grounded.
Pin 4 should be set high by the Tesla CHAdeMO adapter
Pin 10 should be grounded..just not sure when.

I'll see if pulling stuff to ground wakes up the adapter.

-Matt
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

Pin 7 is no connection on the adapter.
Pin 10 didn't do anything.

Good news: Behavior is consistent on my car with test set up.
Bad news: It doesn't work! :D
collin80
Posts: 110
Joined: Sun Aug 30, 2020 3:28 pm
Location: United States, Michigan
Been thanked: 4 times
Contact:

Re: CHAdeMO EVSE side information?

Post by collin80 »

I PM'd you.
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

If anyone reads Slovak here's a pretty good paper:
https://dspace.vsb.cz/handle/10084/142040?show=full - Includes a PCB and code!
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

*Ordering is important*

I had the 12V going before I even connected it to the charge port, and that was the wrong thing to do. I've at least gotten it to go into standby in SWCAN mode. Gonna review what I captured on the CHAdeMO side.
User avatar
larsrengersen
Posts: 101
Joined: Tue May 28, 2019 9:42 am
Has thanked: 8 times
Been thanked: 22 times

Re: CHAdeMO EVSE side information?

Post by larsrengersen »

I've documented the pinout and sequence in this blogpost
https://www.evcreate.nl/chademo-fast-charging-in-diy/
Please send me an e-mail if you want any further details.
I have bought the IEC 61851-24 standard (Electric vehicle conductive charging system – Part 24: Digital communication between a d.c. EV charging station and an electric vehicle for control of d.c. charging) and that had useful information.
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

Awesome. That paper has similar detail (although muddied by google translate :D).

I have a 8 relay module board fitted and working:
PXL_20201203_053907907.jpg
Now I just need to throw some logic around what I've got.
I'll put together a DBC for the CAN data as well when I'm done.

Hopefully I'll be able to get closer to where it wants voltage... I hope to have something to show by tomorrow night. But I'm done for now. :)

-Matt
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: CHAdeMO EVSE side information?

Post by mdrobnak »

Current software is here:

https://github.com/mdrobnak/can-dc-fc-rs

Good enough to get my Model 3 to ask for current - aka start charging.

-Matt
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: CHAdeMO EVSE side information?

Post by Jack Bauer »

Well, I have a chademo cable , my wife's nissan leaf and a volt charger ..........hmmmm:)
I'm going to need a hacksaw
User avatar
New Electric Ireland
Posts: 172
Joined: Sun May 31, 2020 12:22 pm
Location: Ireland
Been thanked: 1 time
Contact:

Re: CHAdeMO EVSE side information?

Post by New Electric Ireland »

Jack Bauer wrote: Sun Dec 13, 2020 10:20 am Well, I have a chademo cable , my wife's nissan leaf and a volt charger ..........hmmmm:)
We could arrange to plug an Outlander into that setup if you need more vehicle data
In Ireland we undertake training & open source RND for the New Electric group, 5 companies converting boats, buses, cars and trucks to electric drive since 2008.
Post Reply