Battery: MEB - dalathegreat/Battery-Emulator GitHub Wiki

Caution

Working with high voltage is dangerous. Always follow local laws and regulations regarding high voltage work. If you are unsure about the rules in your country, consult a licensed electrician for more information.

Volkswagen MEB battery platform

Important

The MEB batteries do not have any precharge resistors built in. They need to see actual battery voltage on the high voltage terminals before the battery can turn on contactors. Due to this requirement the MEB batteries are harder to re-use compared to most EV batterypacks. To achieve this, a standalone lab PSU or high voltage isolated boost converter can be used to generate the high voltage needed to start the battery.


This platform is used across the brands of the Volkswagen Group (VW/ŠKODA/CUPRA/AUDI). It is composed of cell modules, cell management controllers, battery management system and some auxiliary components (pyrofuse, fuse, current measuring, contactors, etc.).

The capacity of the battery is determined by the number of modules. Each module has a capacity of 6.85 kWh. The chemistry is NCM712

  • 7 modules – 48kWh - 84cells in series
  • 8 modules – 55kWh - 96cells in series
  • 9 modules – 61kWh - 108cells in series
  • 12 modules – 82kWh - 96cells in series

The MEB platform includes the following vehicles:

  • Audi Q4 e-tron (2021–present)
    • Audi Q4 Sportback e-tron (2021–present)
  • Audi Q5 e-tron (2021–present)
  • Cupra Born (2021–present)
  • Cupra Tavascan (2023–present)
    • Volkswagen ID. UNYX (2024–present)
  • Ford Explorer EV (2024–present)
  • Ford Capri EV (2024–present)
  • Škoda Enyaq iV (2020–present)
    • Škoda Enyaq Coupé iV (2022–present)
  • Volkswagen ID.3 (2019–present)
  • Volkswagen ID.4 (2020–present)
    • Volkswagen ID.5 (2021–present)
  • Volkswagen ID.6 (2021–present)
  • Volkswagen ID.7 (2023–present)
    • Volkswagen ID.7 Tourer (2024-present)
  • Volkswagen ID. Buzz (2022–present)
    • Volkswagen ID. Buzz Cargo (2022–present)

Lots of useful info at batterydesign.net: MEB and ID4 82kWh.

LV connector

MEB_connector

For communication with the battery, slot C must be used. For this purpose, either an existing connector can be used or the new one must be purchased.

Slot_C_female

Slot_C_female_type

The original TE connector is restricted, no information will be given by TE, but it can be found via Aliexpress or Alibaba (some will arrive without terminals/receptacles, ask the seller up front). Just look for:

  • Connector housing: ZSB 0-2315190-1
  • Small pins 0.5x0.4mm: 1-2177909-1 (or 2177909-1)
  • Large pins 1.2x0.6mm: 7-1452671-1

The pins can also be requested directly from TE.com as (free) sample.

HV connector

MEB_connector_description

The connector marked 'AC Charger' is wired in parallel to the 'motor invertor' port. The DC-charging port has it's own contactors.

Cable partnr for the inverter connector : 1EA971015T or or 1EA971015AA or 1EA973732X

If reusing cables from a donor car:

  • Cable to the DC charge port: 70 or 95mm2
  • Cable to motor invertor: 35 or 50mm2
  • Cable to onboard AC charger/airco/ptc etc.: 6mm2

Pyrofuse: If more then 3 airbags are deployed, the Pyrofuse will be activated. The pyrofuse is located inside the battery:

Pyrofuse

There are 2 different length of pyrofuses used 63mm and 70mm! (screw holes center to center)

63mm center to center -> 9j1915463a 70mm center to center -> 11k915463b (black one)

Note: before installing also measure with multimeter SRS sensor to confirm it's around 2 ohm resistance From VW you can't order only the pyrofuse -> only the complete module, above pyrofuse are available on the "aftermarket"

Genuine Volkswagen Sealant part nr: D454300H2 (blue sealant between the top cover of the battery) Oval hexagon socket head bolt part nr: WHT009218

Wiring details

Slot_C_pin_description Slot_C_details Wiring example

An AWG24 ethernet cable seems to work well. One pair for CAN, one for Pilotline, two pairs for 12V, where I crimped two wires together on pin 1 for GND.

For the 12V a 30W power supply has been found to work ok, the BMS draws around 21W.

Important information

The battery control unit uses CAN-FD for its communication !!!

If CAN communication is lost, contactors open right away (Nice safety feature!)

The service disconnect switch needs to be fitted to the battery for it to be able to start. If this switch is missing, the Battery-Emulator raises an event.

Another condition for the battery to function is to have a closed Pilotline circuit. Without the connection of this circuit, the control unit will not allow the contactors to be closed. It is therefore necessary to connect pins 16 and 22. If this Pilotline circuit is broken, the Battery-Emulator raises an event.

Another requirement from the BMS, it evaluates the presence of voltage on the external terminals of the battery before closing the contactors. Under normal circumstances in the car, the main inverter starts generating the actual voltage (depending on battery model and SOC, 300-450V) from the 12V battery. The battery controller detects this external voltage, if it is close enough (within a few volts), and if everything else is OK, the battery is switched on. This is to prevent arcing of the contactors, an alternative to precharge resistor. The same approach is required when the battery is outside the car and you want to turn it on. You need an external voltage source that connects to the battery terminals (output to the motor inverter) and puts the same voltage of the battery on those terminals to within a few volts. Then it is only possible to switch on the battery by command via the CAN bus. For info on high voltage sources, see this page.

You can check if your battery fulfils the required preconditions, by opening the "More Battery Info" page. This is what a functional battery looks like, with the contactors ON

Status

Hardware list

  • Lilygo TCAN / Stark CMS module, see main wiki page
  • CANFD addon board, see: CANFD addon wiki page
  • A high voltage boost convertor, eg. the HIA4V1, see above
  • Low voltage connector + pins, see above
  • 12V power supply, eg. Meanwell HDR-30 12V
  • High voltage connector+cable, see above for options
  • High voltage DC circuit breakers + eg. din rail clamps to go from 50mm2 to smaller diameter wire (if using the motor invertor connector)
  • Nice-to-have: Emergency/maintenance shutdown button, preferably protected against accidental turn on with a lock Eg one of these

Software checklist

  • Enable #define MEB_BATTERY in USER_SETTINGS.h
  • Enable #define CAN_FD in USER_SETTINGS.h
  • Set .battery = CAN_ADDON_FD_MCP2518 in USER_SETTINGS.cpp
  • It takes some time (~20 seconds) for the battery to get ready. Be patient.

Strange behaviors

Pilotline does not function as expected:

  • Disconnecting the pilot line before turning the battery on results in contactors not closing
  • Disconnecting the pilot line when contactors are closed, only results in 'HVIL status: Open!' but contactors stay closed (pilotline alone is therefore not suitable for emergency shutdown)
  • In all cases the pilotline bit in 0x5A2 does not change.

Alternative option may be to remove 12V from T30C (ignition), which directly results in contactors opening.

⚠️ **GitHub.com Fallback** ⚠️