Divanex Emblem
Divanex Technologies

Engineering High-Scale Reality

0%
Click anywhere to skip
ARCHITECTURAL CASE STUDY9 min read

Architecting Smart EV Charging Networks: OCPP 2.0.1 Protocols, Dynamic Load Balancing & Mobile Payments

How Divanex engineered the Evtor EV infrastructure switch supporting 500+ commercial DC fast chargers.

Bharat S.

Bharat S.

Principal Solutions Architect, Divanex

Architecting Smart EV Charging Networks: OCPP 2.0.1 Protocols, Dynamic Load Balancing & Mobile Payments
FIG 1.0 // ARCHITECTURE BLUEPRINTIoT & Smart Mobility
DOMAIN

IoT & Smart Mobility

VERIFICATION

Production Tested

RIGOR LEVEL

Lead Architects & CTOs

ESTIMATED TIME

9 min read

Executive Summary & Architectural Takeaways

Deep dive into implementing OCPP 2.0.1 charge-point communication gateways, WebSocket telemetry streams, and dynamic grid power balancing algorithms.

The Next Phase of EV Charging Infrastructure #



Commercial EV charging stations require constant bi-directional telemetry between the physical charger hardware (AC Level 2 / DC Fast Chargers) and the cloud billing management system.

The international standard governing this communication is **OCPP (Open Charge Point Protocol)**.

---

OCPP 2.0.1 WebSocket Protocol Gateway #



For the **Evtor platform**, we implemented an OCPP 2.0.1 gateway using secure WebSockets (`wss://`): - **BootNotification:** Validates hardware firmware, connector configurations, and station certificates. - **StatusNotification:** Emits state changes (*Available, Preparing, Charging, Faulted*) with sub-second event broadcasts to mobile apps. - **MeterValues:** Streams live voltage, current (Amps), state-of-charge (SoC %), and energy delivered (kWh).

---

Dynamic Transformer Load Balancing Algorithms #



When 10 electric vehicles plug in simultaneously at a commercial complex, total demand can exceed the building's transformer capacity.

Our smart load balancing algorithm continuously adjusts the maximum allowed charging current per connector based on real-time grid headroom:

TYPESCRIPT SNIPPET
PRODUCTION SPEC
export function computeAllocatedCurrent(totalAvailableAmps: number, activeSessions: ChargingSession[]): Map<string, number> {
  const allocation = new Map<string, number>();
  const activeCount = activeSessions.length;
  if (activeCount === 0) return allocation;

const fairShareAmps = Math.floor(totalAvailableAmps / activeCount); for (const session of activeSessions) { // Cap allocation by vehicle maximum onboard charger capacity const cappedAmps = Math.min(session.maxVehicleAmps, fairShareAmps); allocation.set(session.chargerId, cappedAmps); } return allocation; }


---

Instant QR & RFID Session Authorization #



Drivers scan a QR code via the Evtor mobile app or tap their RFID card. The backend validates credit balance and transmits a signed `RemoteStartTransaction` command to the charger in under **350 milliseconds**.
TOPICS & SYSTEM PRIMITIVES
#EV Mobility#OCPP 2.0.1#IoT Gateway#Dynamic Load Balancing#CleanTech
Share with engineers:
Bharat S.

Bharat S.

PRINCIPAL AUTHOR

Principal Solutions Architect, Divanex

Part of the Divanex Principal Architecture pod specializing in high-concurrency cloud systems, distributed databases, HL7 integrations, and enterprise AI workflows.

Recommended Engineering Reads

More architectural blueprints from our solutions engineering pod

View All Blueprints
GLOBAL TIMEZONE OVERLAP // CLIENT COVERAGE

Global Client Coverage & Regional Desks

Primary engineering runs out of our Jaipur HQ, with dedicated client coverage and active timezone overlap across APAC, the Middle East, and North America.

OPERATING HOURS Live Now
Mon – Fri: 10:00 AM – 08:00 PM
Sat–Sun: Closed (24/7 Escalations Active)
WhatsApp Direct

India

Jaipur, Rajasthan

IN
Engineering HQ & Core R&D Lab
LOCAL TIME (IST)IST (UTC+5:30)
Loading...
Active
PHYSICAL ADDRESS
Office 104, Vaishali Tower 2nd, Nursery Circle, Vaishali Nagar, Jaipur 302021

Hong Kong

Tsuen Wan, New Territories

HK
APAC Client Coverage Desk
LOCAL TIME (HKT)HKT (UTC+8:00)
Loading...
Active
PHYSICAL ADDRESS
FLAT/RM E (36) 3/F Superluck Industrial Centre Phase 2, 57 Sha Tsui Rd, Tsuen Wan

United Arab Emirates

Dubai Media City

AE
MENA Client Coverage Desk
LOCAL TIME (GST)GST (UTC+4:00)
Loading...
Active
PHYSICAL ADDRESS
Building C8, Dubai Media City, Dubai, United Arab Emirates

Canada

Newmarket, Greater Toronto

CA
North America Client Coverage Desk
LOCAL TIME (EST)EST (UTC-5:00)
Loading...
Active
PHYSICAL ADDRESS
105 Sawmill Valley Dr, Newmarket, ON L3X 1S4, Canada
Enterprise Multi-Region SLA: All client communications routed to nearest regional engineering lead within < 15 minutes.
100% In-House Engineers
Scroll to Content(0%)