
Estimating the Voltage-based SOC of the Battery using 1 RC Model in MATLAB
In this project, the students will estimate the voltage-based SOC of the battery using the 1 RC model in the MATLAB environment.
Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

A comprehensive course on Battery Design using practical examples. This course is highly suited for beginners
Li-ion Battery System design in EV & ES is an online course from Skill-Lync: 12 weeks, 12 hours of content and 2 industry projects.
Our projects are designed by experts in the industry to reflect industry standards. By working through our projects, Learners will gain a practical understanding of what they will take on at a larger-scale in the industry. In total, there are 2 Projects that are available in this program.

In this project, the students will estimate the voltage-based SOC of the battery using the 1 RC model in the MATLAB environment.

In this project, the students will design a battery pack based on the given customer requirements.
Video stories from learners of related electrical programs, from Skill-Lync's YouTube channel.
by the Skill-Lync team
The safe operating area (SOA) is the window of voltage, current and temperature inside which a cell may work. The cell maker prints it in the datasheet, and the battery management system (BMS) must keep every cell inside it. Week 2 of the course is titled Safety Operating Area of Li-ion.
Think of a three-way fence. Voltage is one fence, current another, temperature the third. Here are the numbers from a real sheet: the Samsung SDI specification for the INR21700-50E, a 21700 cylinder (21 mm wide, 70 mm long), version V1.0, read on 22 Nov 2026.
One line in the sheet matters most to a pack designer: the pack's protection function "should be set within the specified charge, discharge and temperature range". The BMS is that protection.
Now check a 14S4P pack, 14 groups in series with 4 cells in parallel in each, built from this cell. Series adds voltage and parallel adds current limit, so the pack limits are 4 times the cell's:
cell = dict(vmax=4.2, vmin=2.5, vnom=3.63, ah=4.753, i_chg=4.9, i_dis=9.8, t_chg=(0, 45), t_dis=(-20, 60))
S, P = 14, 4 # 14 groups in series, 4 cells in parallel in each
print(f"pack {S * cell['vmax']:.1f} V full, {S * cell['vmin']:.1f} V empty, {S * cell['vnom']:.2f} V nominal")
print(f"{P * cell['ah']:.2f} Ah, {S * cell['vnom'] * P * cell['ah']:.0f} Wh at the rated capacity")
def check(mode, temp_c, amps):
lo, hi = cell['t_chg'] if mode == 'charge' else cell['t_dis']
limit = P * (cell['i_chg'] if mode == 'charge' else cell['i_dis'])
if max(lo, min(hi, temp_c)) != temp_c:
return f"{mode} {amps:g} A at {temp_c} C: outside {lo} to {hi} C, so 0 A"
if amps - limit > 0:
return f"{mode} {amps:g} A at {temp_c} C: {amps - limit:.1f} A over the {limit:.1f} A limit"
return f"{mode} {amps:g} A at {temp_c} C: inside the window (limit {limit:.1f} A)"
print(check('charge', 25, 9.8))
print(check('charge', -5, 9.8))
print(check('discharge', 25, 45))pack 58.8 V full, 35.0 V empty, 50.82 V nominal
19.01 Ah, 966 Wh at the rated capacity
charge 9.8 A at 25 C: inside the window (limit 19.6 A)
charge 9.8 A at -5 C: outside 0 to 45 C, so 0 A
discharge 45 A at 25 C: 5.8 A over the 39.2 A limitRead the output. The charge at 25 °C passes. The same charge at -5 °C is refused, because the sheet allows charging only from 0 °C upward. A 45 A discharge is 5.8 A over what four parallel cells may give continuously. Real BMS firmware does the same comparison with the live temperature and current, many times a second.
The catch: these are limits for a new cell as the maker tested it. Ageing, a hot cell in the middle of the pack and a cold morning all push the usable window inside the printed one, so designers add margin. The battery pack calculator sizes series and parallel counts. The sibling Battery Technology page works a different pack from a different cell.
Divide the energy you can use by the energy the car spends per kilometre. A 45 kWh pack that spends 130 Wh per km goes about 310 km if 90% of it is usable. Range depends far more on speed and conditions than on the label figure. Week 10 of the course covers drive cycles and range calculation in Excel.
Start with a real car. Tata Motors' launch release of 24 Sep 2024 describes the Nexon.ev with a 45 kWh pack, a range of 489 km (Urban + Extra Urban) and a C75 real-world range of 350 to 370 km. C75 is Tata's own near-real-world measure. The release does not say how much of the 45 kWh is usable, so the sums below treat all 45 kWh as the energy.
Energy per km is the quantity to know. Wh per km means watt-hours spent per kilometre driven, like litres per 100 km for a petrol car. Against the road, the car pays two forces, rolling resistance from the tyres and air drag, and the drivetrain wastes some on the way:
The 3.6 converts newton-metres per km to Wh per km. The numbers for the car are assumed values, not a Nexon model: 1,600 kg, rolling coefficient 0.010, drag area = 0.7 m², air density 1.2 kg/m³, 85% battery-to-wheel efficiency, and 90% of the pack usable.
kwh, km = 45, 489 # Tata's stated battery size and range
print(f"label: {1000 * kwh / km:.1f} Wh/km; C75: {1000 * kwh / 370:.1f} to {1000 * kwh / 350:.1f} Wh/km")
m, crr, cda, rho, eta, g = 1600, 0.010, 0.7, 1.2, 0.85, 9.81 # assumed car, not a Nexon model
for kmh in (60, 100):
v = kmh / 3.6 # m/s
f_roll = m * g * crr # rolling resistance, N
f_air = 0.5 * rho * cda * v ** 2 # air drag, N
wh_km = (f_roll + f_air) / 3.6 / eta # N x 1000 m = J per km; / 3600 = Wh per km
print(f"{kmh} km/h: roll {f_roll:.0f} N + air {f_air:.0f} N -> {wh_km:.1f} Wh/km, range {kwh * 0.9 * 1000 / wh_km:.0f} km on 90% usable")label: 92.0 Wh/km; C75: 121.6 to 128.6 Wh/km
60 km/h: roll 157 N + air 117 N -> 89.4 Wh/km, range 453 km on 90% usable
100 km/h: roll 157 N + air 324 N -> 157.2 Wh/km, range 258 km on 90% usableThat gap between a certified number and a motorway number is the reason range estimation uses a drive cycle, a fixed speed-against-time schedule, and then the real route. The catch: the model ignores heating, air conditioning, hills, regeneration and cold-weather capacity loss, which all move the answer.
In UN Regulation 100 a circuit is high voltage when its working voltage is above 60 V DC, up to 1,500 V DC. Pack designers count cells in series against that number, because crossing it brings the isolation rules below. Week 12 of the course covers HV battery shock hazard and classification.
The words come from the regulation itself, the 2015 EU publication of UN R100 that includes Supplement 1 to the 02 series (in force 10 June 2014), read on 22 Nov 2026. Para 2.17 defines "High Voltage" as working voltage above 60 V and up to 1,500 V DC, or above 30 V and up to 1,000 V AC rms. Para 2.38 defines working voltage as the highest voltage the manufacturer specifies between any conductive parts, in open circuit or normal operation. So the full-charge voltage is the number to use.
Two more rules matter for a pack. Para 5.1.3.1 asks for isolation resistance, the electrical resistance between the high-voltage bus and the vehicle chassis, of at least 100 ohms per volt of working voltage for a DC bus. Para 5.1.3.2 raises that to 500 ohms per volt when AC and DC buses are galvanically connected, unless the AC side is protected as the paragraph lists. Think of isolation as the thickness of a wall between the battery and the metal body: a person touching the body should not be in the circuit.
Worked example. How many cells in series stay at or under 60 V, and what isolation does an assumed 96S pack need?
import math
for name, vmax in (('NMC at 4.2 V', 4.2), ('LFP at an assumed 3.65 V', 3.65)):
n_ok = math.floor(60 / vmax + 1e-9) # most cells in series at or under 60 V
print(f"{name}: {n_ok}S = {n_ok * vmax:.2f} V, {n_ok + 1}S = {(n_ok + 1) * vmax:.2f} V")
vw = 96 * 4.2 # assumed 96S NMC pack, full-charge voltage
print(f"96S working voltage {vw:.1f} V: 100 ohm/V -> {100 * vw:,.0f} ohm, 500 ohm/V -> {500 * vw:,.0f} ohm")NMC at 4.2 V: 14S = 58.80 V, 15S = 63.00 V
LFP at an assumed 3.65 V: 16S = 58.40 V, 17S = 62.05 V
96S working voltage 403.2 V: 100 ohm/V -> 40,320 ohm, 500 ohm/V -> 201,600 ohmA 14S NMC pack tops out at 58.8 V, just under the line. One more group makes it 15S at 63.0 V and it is high voltage. A 13S NMC pack reaches 54.6 V at full charge, under the line. A 96S traction pack at 403.2 V needs at least 40,320 ohms of isolation, and 201,600 ohms in the combined AC and DC case. The 3.65 V LFP figure is an assumed typical charge limit, so check a datasheet for a real cell.
The catch: this is one regulation's wording, at one date. This page does not cover Indian national standards, which we did not read, and later supplements may change details, so read the current text before you design to it. The Battery Management Systems book has a chapter on precharge and insulation monitoring.
CAN (controller area network) is the two-wire bus that carries BMS data to the rest of the vehicle. A classical CAN frame holds at most 8 data bytes, so a pack with 96 cell voltages needs several frames. At 2 bytes per cell that is 24 frames. Week 9 of the course covers CAN and RS485 for BMS communication.
Think of a CAN frame as a standard envelope with room for 8 bytes. A byte is 8 bits. The envelope also carries an identifier saying who it is from and how urgent it is, plus error-check bits. When two nodes talk at once, bit-wise arbitration on the identifier decides who goes first, as the TI note describes. Kvaser's CAN FD tutorial describes the classical frame as 0 to 8 data bytes and the CAN FD frame as up to 64. Microchip's MCP2515 data sheet gives the count for a standard 11-bit frame as 44 + 8N bits, where N is the number of data bytes. That count is before bit stuffing: the controller inserts an extra opposite bit after five identical bits in a row, as Texas Instruments' CAN application note explains, so real frames run a little longer.
Worked example. The encoding is assumed: each cell voltage as an unsigned 16-bit number in millivolts (a 4.2 V cell is 4200), and a 500 kbit/s bus, within the 125 kbit/s to 1 Mbit/s range the TI note gives for ISO 11898.
import math
cells, nbytes, payload = 96, 2, 8 # 2 bytes per cell (1 mV steps), 8 data bytes per classical frame
frames = math.ceil(cells * nbytes / payload)
bits = 44 + 8 * payload # standard 11-bit frame, before stuff bits
t_us = bits * 2 # 500 kbit/s -> 2 us per bit
print(f"{frames} frames of {bits} bits, {t_us} us each, {frames * t_us / 1000:.3f} ms per sweep")
print(f"load at one sweep per 100 ms: {frames * t_us / 1000 / 100 * 100:.1f}%")
print(f"CAN FD, 64 data bytes: {math.ceil(cells * nbytes / 64)} frames")24 frames of 108 bits, 216 us each, 5.184 ms per sweep
load at one sweep per 100 ms: 5.2%
CAN FD, 64 data bytes: 3 framesSo one sweep of all cell voltages costs 24 frames and at least 5.2 ms of bus time, which is 5.2% of the bus if it repeats every 100 ms. Temperatures, current, faults and the pack's state of charge ride on other frames. With CAN FD the same voltages fit in 3 frames. This is why BMS designers think about message layout, cycle time and bus load together.
The catch: the 5.2 ms ignores stuff bits and the gap between frames, and a real bus carries many other messages. Treat it as a floor, not a budget.
It measures the cell voltage and looks up the state of charge (SOC) on the cell's open-circuit voltage curve. That works only after the cell has rested, and only where the curve is steep enough to tell one SOC from the next. Project 1 of the course does this with a 1-RC model in MATLAB.
Open-circuit voltage (OCV) is the cell's voltage with no current and after the chemistry has settled, like a pond that has stopped rippling. The state of charge is the charge left as a share of capacity. The catch is that the lookup runs backwards: you divide the voltage error by the slope of the curve.
Two effects to see. Under load the terminal voltage sags by , so a loaded reading is not the OCV. And where the curve is nearly flat, a few millivolts of error become many SOC points. Some chemistries, lithium iron phosphate (LFP) being the usual example, have a long, nearly flat middle. The slopes below are assumed values chosen to show the effect, not a particular cell.
for slope in (3.0, 0.5): # assumed OCV slope, mV per SOC point
print(f"slope {slope} mV/pt: 15 mV error = {15 / slope:.0f} points, "
f"200 mV load drop = {200 / slope:.0f} points")slope 3.0 mV/pt: 15 mV error = 5 points, 200 mV load drop = 67 points
slope 0.5 mV/pt: 15 mV error = 30 points, 200 mV load drop = 400 pointsWith a gentle 3 mV per point slope, a 15 mV error is 5 points, tolerable. With a flat 0.5 mV per point section, the same error is 30 points. And treating a loaded reading as OCV, with an assumed 10 A through 20 mΩ giving 200 mV, would be off by 67 points even on the gentle slope. So practical BMS code combines the two methods: coulomb counting while current flows, and an OCV reset after a rest. That is week 8 of the course, titled "Combination of Voltage Translation and Coulomb Counting".
Try it on a model with real sensor errors in the free SOC estimation simulator.
It is a 12-week course on how a battery system is put together, from cell to pack, BMS, range and safety. The recording has 52 lessons and 728 minutes, in MATLAB and Simulink, plus Excel for range. You finish with 2 projects. It is one of the courses inside the PG Program in Battery Technology for Mechanical Engineers.
The 2 projects: estimating the voltage-based SOC of a battery with a 1-RC model in MATLAB, and designing a battery pack to a given customer requirement. There is no free lesson for this course. The lessons are locked, so the lesson titles above are the only detail we state.
What it is not: a deep chemistry or CFD course. For a longer battery course see Battery Technology, and for pack cooling in CFD see Battery Thermal Management in Ansys Fluent.
Some, but mostly through EV-titled roles, and our own records for battery-titled ones are thin. As of 22 Nov 2026, none of Skill-Lync's 3,905 placement records names this course or a battery program. Counts below are by job title, not by course.
The records are self-reported starting offers, mostly from 2021 to 2023, so read them as a sketch of where EV roles sit, not a promise. For wider pay data see EV engineer salaries.
| Course | Length | Projects | Tools | Fee |
|---|---|---|---|---|
| Li-ion Battery System design in EV & ES (this page)Pack, BMS, SOC, range and HV safety in 12 weeks | 12 weeks, 12 h | 2 | MATLAB, Simulink | ₹40,000 |
| Introduction to Battery Technology for Electric VehicleLonger course: cells, models, BMS, charging | 12 weeks, 22 h | 3 | MATLAB, Simulink | ₹40,000 |
| PG Program in Battery Technology for Mechanical EngineersPG program: battery plus CFD thermal | 32 weeks, 81 h | 14 | ANSYS Fluent, SpaceClaim, CFD Post, MATLAB, Simulink, OpenFOAM, Octave, ANSA | ₹2,75,000 |
| Battery Thermal Management using Ansys Fluent and MATLABPack cooling in Ansys Fluent | 6 weeks, 6 h | 2 | ANSYS Fluent, MATLAB | ₹40,000 |
| PG Program in Electric Vehicle Design & DevelopmentWhole-vehicle EV design program | 48 weeks, 513 h | 59 | MATLAB, Simulink, SocketCAN, LINUX, C++, ANSYS Maxwell, Altium Designer, LTspice, C Programming, STM32CubeIDE, AVR ATmega328, SimulIDE, Microchip Studio, Embedded Linux, Mbed Simulator, Arm Cortex M4 - STM32, CAN Protocol, LRDA Tool Suite, CATIA V5 | ₹2,75,000 |
| EV FundamentalsNew to EVs? Start with the basics | 5 weeks, 13 h | 5 | MATLAB, Simulink | ₹40,000 |
Lengths, projects and fees are taken from each course page on 22 Nov 2026; fees are the Premium plan in INR, including all charges.
Become job ready with our comprehensive industry focused curriculum for freshers & early career professionals
A: This course is most suitable for students in the field of engineering who want to understand the basics of battery systems used in electric vehicles.
Yes, you will work on two projects: estimating the voltage-based state of charge of a battery with a 1-RC model in MATLAB, and designing a battery pack to given customer requirements.
Yes, you will use MATLAB and Simulink, and Microsoft Excel for the range calculation in week 10.
Possibly, mostly through EV roles. In our placement records, none name this course, and only a few job titles say battery or BMS. We cannot promise a job. The course content applies to roles in battery pack design, BMS and EV system work; see the guide on this page for our own numbers.
A: Yes, you will get an e-verified profile after completing the course, which you can share on relevant websites such as LinkedIn.
A: Yes, you can approach a skilled expert through email support, group video support, forum support, and telephone support to get your doubts cleared.
No course can promise that. Skill-Lync's placement records include EV and battery job titles at companies such as Tata Elxsi, Expleo and Ola Electric, but none of them name this course. See the guide on this page for the numbers and their limits.
A counsellor will walk you through the syllabus, projects and fee options — and tell you honestly if another course suits you better.