Author Topic: EV Charging - Is it realistic to simulate a battery?  (Read 3886 times)

0 Members and 1 Guest are viewing this topic.

Offline 741Topic starter

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)
EV Charging - Is it realistic to simulate a battery?
« on: September 26, 2019, 04:06:01 pm »
So far I've had just a brief glimpse of the specs a possible project, an EV charging station. It might well not happen. So this just testing the water; I am not knowledgeable about the topic.

I gather that a test facility can use a standard circuit to evaluate 'domestic' EV charging stations. The signal side of this circuit is simple: Basically some switches, a diode, and resistors. The switches are twiddled to various positions to simulate what a car's charging unit would do (implementing the basic analog 'protocol'). The charging station responds accordingly according to some state diagrams. (An optional digital interface exists too, but I'm ignoring that here).

It would be ideal to do what a test facility would do before sending a new design off for verification.

The power side of the test circuit seems to be basically a variable load. The EV unit allows mains power (or not), via a relay - taking into account how many amps the EV unit states it wants (if the EV car wants 32A then the charger can 'refuse' for example). It also monitors the ground lead's integrity.

(1) Is it all feasible to design & build some circuit which dumps power into say two parallel domestic heaters in such a way that this looks realistic from the charge station's stance?
(2) Would it be worth doing, or would little information be gained?

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #1 on: September 26, 2019, 04:44:42 pm »
An EV charging station is basically a glorified power cord - supplies mains AC to an onboard battery charger; is that what you are designing, or the charger itself?
 

Offline DBecker

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: us
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #2 on: September 26, 2019, 05:42:41 pm »
A basic EV charging control system is very simple.  It's documented all over.

The supply side is basically a GFCI, with a relay that connects the 120-240V supply when the right diode-resistor pair is connected to the "pilot" sense line.

A key point that you won't be testing with a simple setup is that the pilot waveform is strictly symmetrical, both in voltage+impedance and pulse width.  You should be able to drop the output in a bucket of water and have no DC bias.  This should be true over the full range of conductivity.  This is important for long-term corrosion resistance.  You should be able to simulate that draw and measure the bias.

And of course be able to simulate the various types of ground faults, but that's a little more obvious.


 

Offline 741Topic starter

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #3 on: September 27, 2019, 07:29:04 am »
Just the "glorified power cord" I think.

Thanks for the note about PWM symmetry: PWM is not mandatory, the charger is permitted to output DC instead of PWM.

Offline Kilrah

  • Supporter
  • ****
  • Posts: 1852
  • Country: ch
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #4 on: September 27, 2019, 08:06:53 am »
Those glorified power cords are pretty boring, they're common and cheap and just do a few basic measurements, some communication and fault detection that ends up switching a relay. Not very interesting as a project.

Lots of detail about those here:

 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21658
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #5 on: September 27, 2019, 01:58:48 pm »
Simulate in SPICE, sure -- I wonder actually if you could use a PN diode with a preposterously large transit time, the physics is very similar; but more likely, you're going to want to be able to set the state of charge, and so you'll need a dependent capacitor.  In series with that, some RCs to model ionic diffusion (as applicable; this is responsible for voltage recovery on discharge, and for current tailing off during a float/finishing charge, as used with lead-acid and lithium-ion types).

IRL -- can't really imagine it's worth it, compared to a real battery.  An electronic load of adequate size is going to be pretty pricey.  If you just want to test load capacity, yeah, a bunch of heaters would be something.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline max_torque

  • Super Contributor
  • ***
  • Posts: 1275
  • Country: gb
    • bitdynamics
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #6 on: September 27, 2019, 10:01:04 pm »
But you're not simulating a battery, you are simulating an On Board Charger (OBC)

The AC charging interface (single or 3 phase) is  handled on the EV by this OnBoard charger, and the EVSE is just a switch to grant it power. The charge rate (current drawn) is entirely regulated by the OBC and not the EVSE. The EVSE can signal the maximum current it can supply, and the charging cable includes an identifying resistor (to prevent  the charger trying to pull 30 amps through a 12 amp cable...) but in all cases, the actual charge control is done by the OBC acting as a rectifier, and outputting a DC voltage of suitable magnitude to create a current draw that it is targeting, within the limits that the EVSE and cable can supply.
 
The following users thanked this post: Kilrah

Offline 741Topic starter

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #7 on: September 29, 2019, 01:38:23 pm »
Well, yes I agree I deal only with the charger, but then I ask why the standard test circuit (as in figure A.8 on the documents) includes a variable load?

Presumably the charger itself presents a variable load, but I don't get why the load is shown as variable if this variability is of zero concern to the 'power cord'.

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #8 on: September 29, 2019, 02:50:33 pm »
Well, yes I agree I deal only with the charger, but then I ask why the standard test circuit (as in figure A.8 on the documents) includes a variable load?

Presumably the charger itself presents a variable load, but I don't get why the load is shown as variable if this variability is of zero concern to the 'power cord'.

Some reasons charging stations might monitor load current: bill for energy used; protect against overload; negotiate maximum power if the onboard charger exceeds the ampacity available; notify driver when battery is charged; etc.

In all cases you need to be able to vary the load and the charger needs to be able to monitor the current.
 

Offline Kilrah

  • Supporter
  • ****
  • Posts: 1852
  • Country: ch
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #9 on: September 29, 2019, 05:51:24 pm »
We still don't know what document you're talking of, but if it's for testing the EVSE as there is negotiation going on with the EVSE telling the charger "you may draw X", you might want a variable load to for example try drawing more than X and confirm the EVSE disconnects power.
 

Offline 741Topic starter

  • Frequent Contributor
  • **
  • Posts: 386
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #10 on: September 30, 2019, 07:55:30 am »
The diagram A.8 is in a standard called 61851-1. You might be right about the purpose of the variable load, makes sense to me anyway.


Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13742
  • Country: gb
    • Mike's Electric Stuff
Re: EV Charging - Is it realistic to simulate a battery?
« Reply #11 on: September 30, 2019, 09:04:16 am »
The EV unit allows mains power (or not), via a relay - taking into account how many amps the EV unit states it wants (if the EV car wants 32A then the charger can 'refuse' for example). It also monitors the ground lead's integrity.
That's not how it works - the EVSE tells the car how much it's allowed to draw via the PWM signal on the CP pin. The car should never draw more than this.
And EVSE does not actually need to monitor the car's current draw at all.
It will also not usually monitor ground integrity, just provide residual current protection for AC, and ideally DC faults.
However due to the earthing requirements of the latest UK wiring regs, which sometimes require a local grounding rod, some EVSEs get around this by being able to isolate the earth connection. In this case it should have some monitoring to ensure that the earth is connected before applying power, i.e. the earth isolation relay hasn't failed open.
« Last Edit: September 30, 2019, 09:07:13 am by mikeselectricstuff »
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf