Topics In Demand
Notification
New

No notification found.

Hello Mr. EV Charger, I’m a flat car battery! (Part-1)
Hello Mr. EV Charger, I’m a flat car battery! (Part-1)

June 6, 2023

274

0

Abstract

Electric car users need to frequently recharge the traction battery, and while doing so they need to be assured of an efficient, safe and interoperable experience, be it AC charging or DC charging. EV Charging standards assure users that they can charge their cars from any compatible EV Charger. Apart from electrical protection that is mandated by regulations to handle an untoward safety situation, bidirectional communication in real time between the EV Charger and the car is required throughout the charging session to ensure that the charging capabilities and limitations are mutually understood and any mismatches and unsafe conditions are proactively avoided. Protocol standards for EVSE-EV communication enable the EV Charger and the car to talk to each other towards fulfilling this objective.

Introduction

Ever wondered how an EV Charger knows what current to charge the car battery at? Contrast this with filling up a petrol/diesel car. Is filling up at different rates of fuel flow even relevant! We know liquid fuel is always pumped at the same flow rate, no matter which model and irrespective of whether the tank is empty or near-full.

Further, how does the EV Charger know how much time to charge the battery? In other words, how does it know when exactly to stop charging? In contrast, in a petrol/diesel pump a simple mechanism consisting of an auxiliary sensing tube mounted on the nozzle along with a mechanical valve based on venturi effect (based on pressure difference of the fluid at either end) is employed for automatic cut off of fuel flow when the tank is full. The same mechanism could also be activated manually to stop filling while looking at a particular readout on the fuel meter, or for a pre-set quantity.

Communication, for intelligence beyond power transfer

From these differences it is obvious that the EV Charger (and the electric car itself) need to have much more intelligence compared to their fossil fuel counterparts. Welcome to the lesser known world of EVSE-EV communications! (Where EVSE stands for Electric Vehicle Supply Equipment which is the terminology for EV Charger, and EV refers to the car.)

Now that the “WHYs” of EVSE-EV communication are amply illustrated, let’s see “HOW” exactly the communication happens, and over what medium. If you’re an EV user, you would have used the charging gun of an EV Charger already by plugging it into your car’s inlet to charge. Take a closer look at the charging connector — although the primary purpose of the connector design is to transfer electric power, a few additional pins (apart from the power pins) are provided for communication. Let’s zoom in on the charging gun of the Combined Charging System 2 (CCS2) (group of) standard(s), that is predominant in Europe and has also been adopted in India, and their connector pinouts. Firstly, the CCS2 AC Charging connector.

EVSE-EV Communication (AC Charging Connector)

https://miro.medium.com/v2/resize:fit:700/1*mbCyB0tXg4NkL6s8pnTQBw.png

AC Connector Pinout

As we can see in the above 2 pictures, out of the 7 pins provided in the AC connector, 4 are reserved for (1Phase/3Phase) AC power transfer — Phase1 (R), Phase2 (Y), Phase3 (B) and Neutral. Whereas, 3 pins are dedicated for EVSE-EV communication — Control Pilot (CP), Proximity Pilot (PP) and Protective Earth (PE), which forms the ground reference.

Now, the CCS2 DC Charging connector.

EVSE-EV Communication (DC Charging Connector)

https://miro.medium.com/v2/resize:fit:700/1*GkUAS5rkbv1YorEMAxBy2w.png

DC Connector Pinout

As we can see in the above 2 pictures, out of the 5 pins provided in the DC connector, 2 are reserved for DC power transfer — DC + and DC -. Whereas, 3 pins are dedicated for EVSE-EV communication — Control Pilot (CP), Proximity Pilot (PP) and Protective Earth (PE), which forms the ground reference.

As we can see, these communication pins have quaint names — Control Pilot (CP) and Proximity Pilot (PP). The CP pin is used for most of the signalling related to electrical power transfer, whereas the PP pin provides feedback on whether the car is currently plugged in or not. The Protective Earth (PE) pin acts as the ground reference for the other 2 signals.

CCS2 also has the Combo plug, that includes power pins for both AC and DC charging in the same connector. However, the communication pinout (CP, PP and PE) remains the same as described above, in position as well as in function.

EVSE-EV Communication (Combo Connector)

https://miro.medium.com/v2/resize:fit:700/1*p31N2xSbUh7cMlsK2RF1BQ.png

Combo Connector Pinout

Note: In other popular EV Charging standards, like CCS1/SAEJ1772 (US), CHAdeMO (Japan), GB/T (China) and Tesla (global), the pin names, positions and electrical function may vary across each other, but a few dedicated pins are always provided for communication.

Types of EVSE-EV communication

Two types of communication are possible between the EV Charger and the car. For the CCS2 system, these are:
1. Analog Signalling (AS), defined by the IEC61851 standard (the successor of the US SAE J1772)
2. High Level Communication (HLC), defined by the ISO15118 standard (the successor of the German DIN SPEC 70121, which covers only DC Charging)

Analog Signalling is the elementary communication mechanism between the EV Charger and the car over dedicated signal lines. Whereas HLC implements digital message communication to implement additional (and a few optional) functionality. In this (first) part, we take a closer look at how Analog Signalling works. In the next (second) part, we will deep dive into High Level Communication.

Analog Signalling

Analog Signalling as the name indicates, employs electronic circuitry on the EV Charger and on the car for generating as well as detecting specific voltage levels and wave patterns (having specific timing characteristics) across specific signal lines. Analog Signalling protocol is defined by the IEC 61851 standard (Electric Vehicle Conductive Charging System) that defines the levels of voltages and currents, modes of charging, connectors and safety aspects for both AC Charging and DC Charging.

The 2 specific pins used for Analog Signalling are Control Pilot (CP) and Proximity Pilot (PP), with the Protective Earth (PE) pin acting as the ground reference. The pilot signal generated by the EV Charger is a +12V to -12V square wave at 1000Hz.

Discrete voltage levels or waveforms on the Control Pilot line represent different states to the EV Charger and the car. The duty cycle of the square wave itself represents the current that will be transferred in the current charging session. The following table captures the discrete voltage levels and waveforms on the CP line and the interpretation of each electrical pattern by the EV Charger.

https://miro.medium.com/v2/resize:fit:700/1*OZX3bVvOQFhMQ74ZSuTmVQ.png

Analog Signalling States

(*) PWM — Pulse Width Modulation, a standard method of varying the pulse width of a square wave.

(**) Ventilation — This is typically not required for Lithium Ion batteries of today. It is only a carry-over left in the protocol from the Lead Acid battery days, which needed active ventilation to dissipate hazardous gases emitted during charging. If the EV Charger is located in an enclosed area, an exhaust fan is typically turned on.

Example scenarios

Let us look at a few communication scenarios involving Analog Signalling. For instance, when the EV Charger sees +12V DC on the Control Pilot line, it knows that the car is not yet plugged in, so it waits. As soon as the voltage drops to +9V DC, it knows that the car is plugged in. Internally the car presents a specified resistance when it is plugged in, which causes this voltage drop/transition.

Similarly, when the EV Charger sees that its pilot signal which was a +12V to -12V square wave at 1000Hz, is now having the positive side chopped down at +9V (due to the resistance presented by the car), with the negative side still at -12V, it knows that the car that is plugged is preparing to receive power, but not yet ready. As soon as the positive side gets further chopped down to +6V (due to increased resistance presented by the car), with the negative side still at -12V, it knows that the car is now ready to receive power. In response to this state transition, the EV Charger closes the output contactor thereby connecting electrical power to the car.

From this, we can infer how the EV Charger knows when to stop charging. In this case, the wave pattern would change from a +6V to -12V square wave, back to a +9V to -12V square wave (due to a decrease in the resistance presented by the car). In response to this state transition, the EV Charger opens the output contactor thereby disconnecting electrical power from the car. This could happen because the BMS system (***) controlling the car battery decided that the battery is now “fully charged” (****) now, and it is time to stop charging. It could also happen if an emergency safety condition was detected during the session that warranted immediate charging shutdown. Either way, the car is requesting to stop charging.

(***) BMS — The car battery gets charged under full supervision of the Battery Management System. The BMS controls the rate at which the battery pack is charged, equalizing cell voltages and ensuring temperatures do not rise up dangerously, besides deciding when to stop charging.

(****) “Fully charged” — Most EV OEMs and Lithium Ion battery manufacturers typically set a guard band on the upper level of battery charge. Hence although it may display 100% on the dashboard, the real battery level would be somewhere in the 80% to 90% range.

Rate of charging (or charging current)

Ok, so how does the Charger know at what current to transfer power to the car in the charging session? As we saw earlier, the duty cycle of the square wave is utilized for this purpose. As we know, the duty cycle is 50% if the square wave is symmetrical.

https://miro.medium.com/v2/resize:fit:700/1*fadFrz2PXlAqkCFOxmYMsw.png

PWM with 50% Duty Cycle

As we increase the pulse width on the positive direction, it gets closer to 100%, where most of the time it has positive value.

https://miro.medium.com/v2/resize:fit:700/1*UQ659NLRFTFE4h1p63sV_g.png

PWM with 75% Duty Cycle

Whereas if we increase the pulse width on the negative direction, it gets closer to 0%, where most of the time it has negative value.

https://miro.medium.com/v2/resize:fit:700/1*h0qK0y4YQ5EMaJJv7XA9pw.png

PWM with 25% Duty Cycle

The EV Charger therefore generates a square wave as per the IEC61851 Standard, to signal the charging current value. So, what is the correlation between the duty cycle of the square wave and the current? Here is where it involves a little bit of abracadabra!

Firstly, the full range of current from 6A to 80A is split across 2 ranges:
Lower range: 6A to 51A
Upper range: 51A to 80A

Why this bizarre split range? We will see soon.

Secondly, the formula in the lower range to convert duty cycle (%) to current (A) is
A = Duty cycle (%) x 0.6

However, the relation of current and duty cycle is not linear throughout the range.

https://miro.medium.com/v2/resize:fit:700/1*j2bTyKK5u4G3to5xhrbs8g.png

Current Vs Duty Cycle

The initial part of the curve has a relatively steep slope, with an increase of 6A for every 10% increase in duty cycle.

https://miro.medium.com/v2/resize:fit:700/1*lcO5ORr961u0SWk05KR48w.png

Lower range (Current Vs Duty Cycle)

At the inflection point of 51A, the curve changes to a milder slope. So that is what necessitates a split range.

To accommodate for this gradient change, the formula in the second range (beyond 51 A) changes to
A = (Duty cycle (%) — 64) x 2.5

So, the remaining part of the curve has a milder slope, with an increase of 5A for every 2% increase in duty cycle.

https://miro.medium.com/v2/resize:fit:671/1*tKuRIKgZYZJSX14GlEE3qg.png

Upper range (Current Vs Duty Cycle)

From this relation, we can see that
1) The valid range of duty cycle of the square wave is between 10% and 96%.
2) 10% duty cycle corresponds to 6A charging current.
3) 50% duty cycle (symmetrical square wave) corresponds 30 A charging current.
4) 96% duty cycle corresponds to 80A charging current.

Connected or not

Ok, now how does the car know that it is connected properly to the EV Charger or not? For safety it is very important that the car ‘knows’ that it is securely connected to the EV Charger.

Here is where the Proximity Pilot (PP) pin (also known as Plug Present) is useful. The Proximity Pilot in the plug serves this purpose by creating a circuit via a resistor to the Protective Earth (PE) pin. Firstly, if the connection is not proper it allows disabling the charging process for safety. Further, it helps prevent the user from driving off accidentally with the charging gun inserted.

Thus, by applying a voltage to Proximity Pilot (PP) pin, the car detects a voltage drop when the charging gun is connected to its inlet as this will create an electric circuit. This provides a signal to the car’s control system to prevent any movement while being connected to the EV Charger. It provides an additional function (*****) of signalling the latch release (optional) button to the car, so that the car could initiate a controlled shut off prior to the electrical disconnection of the power pins.

https://miro.medium.com/v2/resize:fit:700/1*DUAjq6xn1AO5Jc_mkrSZXQ.png

Connection State Vs PP Voltage

We test our EV Charger designs using a Battery Communications Simulator. The Simulator presents an identical interface of the car, and works exactly like a car. It provides an identical connector and pinout just like a CCS2 compliant car. It works on the same Analog Signalling protocol, mimicking exact voltages, waveforms and timing characteristics as defined by the IEC61851 standard, that the EV Charger thinks it is connected to a real car! This standards compliance of the design ensures it will work correctly with any compliant car model.

(*****) Additional function — The PP pin also includes a legacy function of detecting the capacity of charging cables that are not tethered to the EV Charger, and hence their current capacity is unknown to the EV Charger. To ensure safe charging, it first makes sure that the cable has enough capacity for the current that it is planning to supply before actually transferring power. For this the resistance value on the PP line is adjusted such that the current flowing when measured gives an indication of the cable’s capacity. This function is not relevant nowadays, since the charging cable is an integral part of the EV Charger and hence its capacity is already known.

https://miro.medium.com/v2/resize:fit:700/1*mj8kIgMZRXh7_OU8G4W63Q.png

Power cable capacity Vs PP Resistance

To be continued…

In all of this communication by raw voltages, waveforms and their timings that start as soon as the car is plugged in, one cannot simply miss the ingenuity of the protocol at the basic electrical level — simple, yet functional! Analog Signalling is implemented entirely at the hardware level, using simple electronic circuitry consisting of discrete/analog components and mixed signal ICs. The average software engineer could understandably be left shrugging at all those voltage levels and waveforms, while it’s pure delight for the hardware engineer! I promise I will make the next (second) part on High Level Communication equally (or more) exciting for the software engineer as well.

About the Author

Ram Mohan Ramakrishnan

Principal Consultant, Automotive

NeST Digital


That the contents of third-party articles/blogs published here on the website, and the interpretation of all information in the article/blogs such as data, maps, numbers, opinions etc. displayed in the article/blogs and views or the opinions expressed within the content are solely of the author's; and do not reflect the opinions and beliefs of NASSCOM or its affiliates in any manner. NASSCOM does not take any liability w.r.t. content in any manner and will not be liable in any manner whatsoever for any kind of liability arising out of any act, error or omission. The contents of third-party article/blogs published, are provided solely as convenience; and the presence of these articles/blogs should not, under any circumstances, be considered as an endorsement of the contents by NASSCOM in any manner; and if you chose to access these articles/blogs , you do so at your own risk.


NeST Digital, the software arm of the NeST Group, has been transforming businesses, providing customized and innovative software solutions and services for customers across the globe. A leader in providing end-to-end solutions under one roof, covering contract manufacturing and product engineering services, NeST has 25 years of proven experience in delivering industry-specific engineering and technology solutions for customers, ranging from SMBs to Fortune 500 enterprises, focusing on Transportation, Aerospace, Defense, Healthcare, Power, Industrial, GIS, and BFSI domains.

© Copyright nasscom. All Rights Reserved.