I will simulate a bidirectional ev battery charger afe and dab
Electronics Engineer
About this Gig
Complete PLECS 5.0 simulation of an isolated, bidirectional EV battery charger (grid-to-battery and vehicle-to-grid), with fully discrete controllers in C-Script.
WHAT'S INCLUDED
Grid AFE rectifier: 230 Vrms / 50 Hz, 100 kW, 600 V DC link, 50 kHz, Min-Max PWM
Dual Active Bridge (DAB): SPS modulation, 1:1 HF transformer, 65 kW, galvanic isolation
Battery bank: 192s74p Panasonic NCR18650B, 691 V nominal, about 170 kWh, Shepherd model
CONTROL
Voltage-Oriented Control with SRF-PLL
dq current loops (2 kHz) with decoupling and anti-windup
DC-link voltage loop with reference prefilter
Battery EMS: CC/CV charging (80 A / 780 V), stops at 95% SoC, idle gate blocking
V2G mode: battery energy injected back into the grid
RESULTS
Unity power factor, sinusoidal grid currents
62 kW charging, about 91% grid-to-battery efficiency
About 93% efficiency in V2G mode
YOU GET
4 organized PLECS models (AFE, DAB+battery, full charger, charger with V2G)
Commented C-Script code and labeled scopes
Results obtained in simulation with ideal switches.
Control type:
Other
Device brands:
Other
Programming language:
C/C++
•
MATLAB
•
Python
Software:
Matlab

