Project Files of 3S BMS Board Library for Proteus Simulation
d19dc40500d84e2ab9672c2fc80cf924.zip

3S BMS Board Library for Proteus V1.0
3S BMS Board Library for Proteus V1.0 comes as a ZIP archive of 28 files (3.1 MB, 6.7 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
3S-BMS-Board-Library-for-Proteus-v1.0.zip with the 3S BMS board for Proteus simulation (TEPBMS3S.LIB and TEPBMS3S.DLL), our 18650 cells, voltage sensor, MOSFETs, resistors and power resistors, our Arduino UNO V4.0, the A3 demo, its sketch and a README.
File Structure
2.3 KB201.9 KB11.9 KB18 KB17.9 KB17.9 KB157.2 KB306.9 KB12.7 KB319.5 KB883.5 KB315 KB295 KB295.5 KB304.5 KB311 KB296.5 KB30 KB14.6 KB319.5 KB883.5 KB315 KB295 KB295.5 KB304.5 KB311 KB296.5 KB14.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in 3S BMS Board Library for Proteus Simulation. Open an image for its full size.
README
3S BMS BOARD LIBRARY FOR PROTEUS SIMULATION - V1.0 (a 3-cell Li-ion protection and balance board, a pop-up)
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/12/3s-bms-board-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/motor-driver-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
3S-BMS-Board-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEP18650.LIB 11.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPBMS3S.LIB 18.0 KB the library -> LIBRARY folder
| |-- TEPNMOS.LIB 17.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPPMOS.LIB 17.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPPOWERRES.LIB 157.2 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPVSENSE25.LIB 12.7 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEP18650.DLL 319.5 KB its model -> MODELS folder
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPBMS3S.DLL 315.0 KB the model -> MODELS folder
| |-- TEPNMOS.DLL 295.0 KB its model -> MODELS folder
| |-- TEPPMOS.DLL 295.5 KB its model -> MODELS folder
| |-- TEPPOWERRES.DLL 304.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
| |-- TEPVSENSE25.DLL 296.5 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- 3S-BMS-Pack-Protection-ArduinoUnoV4.pdsprj 30.0 KB the demo project
| |-- BMS3S_Demo.hex 14.6 KB the demo firmware
| |-- TEP18650.DLL 319.5 KB copy of its model
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPBMS3S.DLL 315.0 KB copy of the model
| |-- TEPNMOS.DLL 295.0 KB copy of its model
| |-- TEPPMOS.DLL 295.5 KB copy of its model
| |-- TEPPOWERRES.DLL 304.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
| |-- TEPVSENSE25.DLL 296.5 KB copy of its model
|-- Arduino Code/
| |-- BMS3S_Demo/BMS3S_Demo.ino 2.3 KB the demo sketch (source of the .hex)
|-- README.txt ~14.6 KB this file
Total: 6.69 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common 3S (11.1 / 12.6 V) Li-ion protection and balance board, drawn from the top at its real
size: the 50 x 22 mm green board, the
cell pads B- B1 B2 B+, the pack pads P+ and P-, the protection IC, four MOSFETs and three balance
resistors. The drawing is our own; the
model follows the way these boards work:
* The cell taps: cell 1 between B- and B1, cell 2 between B1 and B2, cell 3 between B2 and B+; P+
is B+.
* Back-to-back MOSFETs between P- and B-: the discharge (DSG) and the charge (CHG) MOSFET, each
with its body diode - so a cut discharge
still lets a charger in, and a cut charge still lets a load run.
* Over-charge (any cell over OVERCHARGE: CHG off, back after 0.2 s with every cell under 4.15 V),
over-discharge (any cell under OVERDISCHARGE: DSG off, back at 3.0 V or
when a charger lifts P-), over-current (OVERCURRENT for 10 ms) and a short (at once), with the
usual detection delays.
* The balance: a cell over 4.18 V bleeds through 62 ohm (68 mA) until 4.15 V - its resistor glows
on the sheet.
* Click the part for the pop-up: the three cells against the thresholds, both MOSFETs, the
current, the protection, the balance, the
cells' trend; graphs, an event log (it names the cell) and a check page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.
ONE DEVICE (search "BMS" or "3S" in Pick Devices):
BMS3S25ATEP "3S BMS Board V1.0" in TEPBMS3S.LIB (Modules > Power), prefix U, model TEPBMS3S.DLL
(analog).
Pins: B+ B2 B1 B- (left, the cells), P+ P- (right, the load and the charger).
The demo also uses our 18650 cells (TEP18650), our 0-25 V voltage sensor (TEPVSENSE25), our
IRLZ44N and 2N7000 (TEPNMOS), our IRF4905
(TEPPMOS), our resistors (TEPRESISTOR) and power resistors (TEPPOWERRES).
THE POP-UP
Click the part at Run. Tabs:
Pack The three cells as bars against the over-charge, balance and over-discharge lines,
the MOSFETs and the current; the cells over
time; tiles: the pack and P+, the current, the MOSFETs, the protection, the cell
spread, the balance currents, the limits,
the protection events.
Graphs the live values over the last 2, 6 or 15 s. Live / Freeze.
Event log every change and warning; filters All / Changes / Warnings, Pause, Clear
Check what the part is doing and what to look at, each with a verdict (green = fine, amber
= check, red = wrong)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates, donate, forum; Copy diagnostics
for a bug report
TEST STATUS
V1.0: verified in Proteus 8.5 on 21 Nov 2026 (the demo project as shipped: an A3 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
* The project loads and starts cleanly; the demo ran 6.0 simulated seconds in a little over two
minutes on our PC with the pop-up open
and the pictures being taken (A3 sheet).
* The charge (13 V through 3.3 ohm - too high on purpose): cell 3 balancing from 0.50 s (4.180 V),
cell 1 from 1.06 s; the first
over-charge at 1.110 s (cell 3 at 4.253 V for 20 ms): CHG off, P+ at the charger's 12.995 V, no
current. CHG back on after 0.2 s with
every cell under 4.15 V (1.316 s), tripped again at 1.342 s and 1.569 s: 5 over-charge stops
before the sketch switched the charger
off at 2.0 s. The highest cell voltage of the run: 4.289 V.
* The discharge into 33 ohm: 0.356 A, P+ 11.746 V at 2.6 s; 0.347 A, P+ 11.435 V at 3.6 s.
* The over-discharge at 4.497 s: cell 2 at 2.647 V for 10 ms - DSG off, P+ to 0.385 V; the Arduino
saw it and switched the load off.
The other cells were still at 3.887 and 3.907 V; cell 2 recovered to 2.863 V.
* Six protection events in all (5 over-charge stops, 1 over-discharge); at most 0.363 A; no
simulation error.
* The pop-up (Pack, Graphs, Event log, Check) followed the run.
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPBMS3S.LIB, TEP18650.LIB, TEPVSENSE25.LIB,
TEPNMOS.LIB, TEPPMOS.LIB, TEPRESISTOR.LIB, TEPPOWERRES.LIB and our Arduino library V4.0,
ArduinoV4TEP.LIB, with the ARDUINO UNO V4.0 used by the demo) to the LIBRARY folder of Proteus, for
example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(use the folder that already holds Proteus's own .LIB files).
3. Copy TEPBMS3S.DLL, TEP18650.DLL, TEPVSENSE25.DLL, TEPNMOS.DLL, TEPPMOS.DLL, TEPRESISTOR.DLL,
TEPPOWERRES.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS folder (...\Proteus 8
Professional\MODELS).
4. Delete TEPBMS3S.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "BMS".
RUN THE DEMO
"Proteus Simulation\3S-BMS-Pack-Protection-ArduinoUnoV4.pdsprj" (an A3 sheet) - keep the .hex file
and the DLLs beside the project.
BAT1-3: three of our 18650 cells (SPEED 3600: an hour each simulated second): cell 1 SOC 80 %,
cell 2 SOC 20 % (the weak one), cell 3 85 %.
U1: the 3S BMS: B- B1 B2 B+ on the cells; P+ on PACK+, P- is the circuit's ground.
U2: our 0-25 V voltage sensor: PACK+ to A0.
R1, Q1: a 33 ohm load on PACK+, switched by our IRLZ44N on D7.
R2, Q2, R3, Q3: the charger - +13V through 3.3 ohm and our IRF4905 P-MOSFET to PACK+, its gate
pulled up by 10 k and down by our 2N7000
on D8. 13 V is more than a 3S pack may take (12.6 V) - on purpose: the BMS has to stop it.
The sketch charges for 2 s (cell 3 reaches OVERCHARGE: the BMS stops the charge and balances cell
3), then runs the load until P+
disappears (cell 2 reaches OVERDISCHARGE: the BMS cuts the pack off), then switches everything
off.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
B- to the pack's minus, B1 to the first junction, B2 to the second, B+ to the pack's plus - in
that order. The load and the charger go on
P+ and P-, never on B-. Charge with a 12.6 V CC / CV charger; the BMS is the safety net.
REAL HARDWARE:
* Connect the cells in order (B-, B1, B2, B+); a wrong order can damage the protection IC.
* The BMS protects the weakest cell: one empty cell ends the discharge, one full cell ends the
charge.
* Balance current is small (tens of mA): it keeps matched cells matched; it can not fix a badly
mismatched pack.
* The current rating is the MOSFETs': cooling and wiring set what the board really carries.
THE DEMO SKETCH ON THE SERIAL MONITOR (BMS3S_Demo V1.0, 9600 baud)
BMS3S_Demo prints P+ and the phase every 250 ms. EXPECTED MONITOR OUTPUT (shortened)
3S pack with a BMS: charge (13 V - too high on purpose), then discharge
Charger on (13 V through 3.3 ohm)
P+ ... V charging (the charger's 13.0 V while the BMS holds the charge off)
Charger off, load on (33 ohm)
P+ 11.80 V discharging
...
P+ gone: the BMS has cut the pack off (a cell is empty) - load off
P+ 0.39 V off
PROPERTIES (double-click the part > Edit Properties)
OVERCHARGE Over-charge detection per cell, V (4.20 - 4.35). Default 4.25.
OVERDISCHARGE Over-discharge detection per cell, V (2.5 - 3.0). Default 2.70.
OVERCURRENT Over-current detection, A (1 - 40). Default 25.
Every run starts again from the properties.
LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPBMS3S.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http:// and https:// links are used; lines starting
with # are comments.
TROUBLESHOOTING
* P+ is 0 V: the BMS has cut the discharge (a cell under OVERDISCHARGE, an over-current or a short)
- see the pop-up's PROTECTION tile.
* The charge stops early: one cell reached OVERCHARGE while the others are lower - the pack is
unbalanced.
* Nothing works: B- not on the pack's minus, or the load / charger wired to B- instead of P-.
* The part is not simulated: TEPBMS3S.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPBMS3S.DLL is missing from MODELS and from the project folder. No UNO
/ no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/motor-driver-proteus-library
SUPPORT US
This library is free. If it saves you time, please support our work:
https://www.theengineeringprojects.com/donate
WEBSITE
https://www.theengineeringprojects.com/
LICENCES AND THIRD-PARTY NOTES
* The model (TEPBMS3S.DLL), the symbols and artwork, the other parts of ours in the demo and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
Visual C++ redistributable is needed.
The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
microcontroller is Proteus's own AVR model): The Engineering Projects,
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, which includes
LGPL-licensed code; its source code is available at
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is a trademark of Arduino SA.
This library is not made or endorsed by Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\BMS3S_Demo\BMS3S_Demo.ino, select Arduino Uno and use Sketch > Export Compiled Binary.
Replace the simulation's .hex with the exported HEX. The sketch needs 5,300 bytes of flash and 223
bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the three cell voltages from the taps, the back-to-back MOSFETs with their body diodes,
over-charge, over-discharge,
over-current and short-circuit protection with delays and releases, the balance bleeders, the event
log naming the cell.
Our figures: 12 mohm for the MOSFET pair, 0.6 V / 50 mohm body diodes, 62 ohm balance resistors, the
detection delays (over-charge 20 ms,
over-discharge 10 ms, over-current 10 ms - shortened from the IC's real 1 s / 100 ms because a
simulated second is an hour here), the 0.2 s
over-charge release.
Not modelled: the protection IC's own current, temperature protection (not on this board), the
MOSFETs' heating.
VERSION
TEP 3S BMS Board library V1.0 (Nov 2026). Device BMS3S25ATEP (TEPBMS3S.LIB / TEPBMS3S.DLL). Demo
sketch BMS3S_Demo V1.0 (no library). Demo board: ARDUINO UNO V4.0 (TEP Arduino Library V4.0) with
its built-in serial monitor; our 18650 cells, voltage sensor, MOSFETs, resistors and power resistors
V1.0.Development1 release
-
V1.03S BMS Board Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click d19dc40500d84e2ab9672c2fc80cf924.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (3S-BMS-Board-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEP18650.LIB and TEPBMS3S.LIB and 5 more and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEP18650.DLL, TEPARDUINO.DLL and TEPBMS3S.DLL and 5 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open BMS3S_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to BMS3S_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open 3S-BMS-Pack-Protection-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
3S BMS Board Library for Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download 3S BMS Board Library for Proteus V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
3S BMS Board Library for Proteus V1.0 comes as a ZIP archive of 28 files (3.1 MB, 6.7 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 28 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, d8586818d1732962b2871002edda422545191c96ac231a7682012d5d701a40e1. In PowerShell run Get-FileHash "d19dc40500d84e2ab9672c2fc80cf924.zip"; on macOS or Linux run shasum -a 256 "d19dc40500d84e2ab9672c2fc80cf924.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 1 Dec 2026Uploaded at
d8586818d1732962b2871002edda422545191c96ac231a7682012d5d701a40e1



























Comments
0