Main Content

11 results in File Exchange

Battery CCCV charging model

Version 1.2.1 by YU WENG

This CC-CV charger model with a Li-ion Battery can run quickly, and is thus suitable for lifetime simulations.

This is a matlab simulink model of Li-ion battery with fast CCCV charging mode.'CCCV_RUL_SOCrange.m' is the code to run a Simulink model and store the data for a range of operations automatically

  • 2.2K (All time)
  • 27 (Last 30 days)
  • 3.3 / 5
  • Community
  • 3 Oct 2023

DC FAST CHARGER

Version 1.5.0 by Devashish Raj

50KW DC charger with CCCV charging profile.

  • 1.2K (All time)
  • 9 (Last 30 days)
  • -- / 5
  • Community
  • 26 May 2022

Solar PV Battery Charger Using Closed-Loop Buck Converter

Version 1.0.0 by Praveen

Standalone solar PV battery charger using a closed-loop buck converter with coordinated current and voltage control loops for CC–CV charging

charging current and battery voltage, enabling proper CC–CV battery charging from a solar PV source.

  • 198 (All time)
  • 28 (Last 30 days)
  • -- / 5
  • Community
  • 28 Dec 2025

Battery Pack Charging Simulation with Temperature Monitoring

Version 1.0.0 by Sahil

In this simulation, a Lithium-ion battery pack consisting of 4 cells in series and 3 cells in parallel was modeled during a CC-CV

The developed MATLAB simulation models the charging behavior of a Lithium-ion battery pack using a Constant Current–Constant Voltage (CC-CV) charging strategy, which is widely used in electric

  • 32 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 10 Nov 2025

Electric Vehicle Battery Charging (CC-CV) Modeling

Version 1.0.1 by Dr.Marwa Abdelkareem Yagoub

This project presents a Simulink model of an electric vehicle (EV) battery charging system using the Constant Current–Constant Voltage

## OverviewThis project presents the modeling and simulation of an Electric Vehicle (EV) battery charging system using the Constant Current–Constant Voltage (CC-CV) charging technique in MATLAB

  • 471 (All time)
  • 31 (Last 30 days)
  • 2.5 / 5
  • Community
  • 14 Apr 2026

Battery Modeling

Version 1.27 by Javier Gazzarri

Lithium ion battery characterization, state estimation, cell balancing, and thermal management

index contains links to open each example.Demos:1. 3S-1P battery pack CCCV charge with passive balancing using Simscape Electrical. Charge / discharge cycling with passive balancing, including thermal

  • 65.9K (All time)
  • 100 (Last 30 days)
  • 4.9 / 5
  • Community
  • 3 Jun 2021

Charger for Battery 48V from DC source 32V with two mode CC and CV

Version 1.0.0.0 by Truong Nguyen Xuan

Run with two Mode Current constans and Voltage constanst.

  • 6.8K (All time)
  • 4 (Last 30 days)
  • 4.6 / 5
  • Community
  • 20 Mar 2012

Battery charger with constant voltage and current mode

Version 1.0.0 by Abdelrahman Farghly

A battery charger with both Constant Current (CC) and Constant Voltage (CV) modes is the standard for safely and efficiently charging.

Overview: CC-CV Battery Charging✅ Stage 1: Constant Current (CC)Charger supplies a fixed current (e.g., 1 A).Battery voltage rises gradually.Continues until the battery reaches the target voltage

  • 253 (All time)
  • 12 (Last 30 days)
  • -- / 5
  • Community
  • 1 May 2025

A Simscape-Battery-Library

Version 2.0.0.0 by W. Dhammika Widanage

A Li-ion battery library written in Matlab Simscape language. Battery models include electrochemical models with ageing and ECMs.

modelsa simple battery cycler with CCCV charging,a general electrical source - I/V/Pa controlled electrical source - I/V/PTwo general purpose functions getVariables() and plotVariables() in the +Utilities

  • 1.5K (All time)
  • 15 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Jun 2023

Cell resolved Matlab OOP model of a lithium iron phosphate battery pack

Version 1.0.0.0 by Marc Jakobi

Collection of classes stored in a package "lfpBattery".

- : Function for testing the CCCV charging
- : Class for holding a linear fit of the CV phase of a CCCV
- digitizeTool State object for CCCV (constant current
  • 529 (All time)
  • 4 (Last 30 days)
  • -- / 5
  • Community
  • 15 Oct 2022

Electric Vehicle Design with Simscape

Version 24.2.2.03 by MathWorks Simscape Team

This repository show you how to model an automotive battery electric vehicle (BEV) for range estimation and battery sizing.

- CC-CV charger with a thermal representation of the power converter.
- Constant-current / constant-voltage (CC-CV) charging controller without thermal dynamics.
  • 4.6K (All time)
  • 86 (Last 30 days)
  • 5.0 / 5
  • Community
  • 5 May 2026