Comments (16)
I should add, that I am using my own layout for the cell module PCBs. The circuit is identical to Stuart's apart from the addition of a 3A fuse at the power input, and a 100nF bypass capacitor between the MCU power pins.
from diybmsv4.
Hi Delboy711, thanks for the information.
What cells are you using and voltage range that you are dragging the cells below 2.7V ?
My existing circuit already has a 100nF bypass cap over the MCU - thats component C1
from diybmsv4.
@stuartpittaway My cell packs are a mixture of reclaimed 18650s. I noticed the problem when connecting a cell module to a pack at 4150mV with bypass threshold set to 4100mV. I also see the same effect when attached to my bench power supply.
During bypass the cell voltage does not drop more than around 50mV, and looking on my scope I have not been able to capture any spikes below the BOD threshold. Yet the MCU does go into lah-lah land as soon as bypass commences.
from diybmsv4.
This only happens on 2 of the modules or all of them? I also use a bench power supply for testing and haven't got it to brownout or crash like this
from diybmsv4.
Just the two. Some parts may be more sensitive to transients on the power rail than others.
In terms of what action you might consider I suggest removing the WriteConfigToEEPROM() statement in setup since it does not do anything useful and would save a few bytes.
I did wonder if Issue #18 might be related. Transient noise from the OP's charger could be affecting the MCUs.
from diybmsv4.
Interesting stuff. #18 may be related however that issue seems to also have larger problems like usb drop outs and mains noise on the power lines.
from diybmsv4.
Hi @delboy711 on the capacitor fix you put on the circuit, is this simply a 10uF between the positive side of the resistors and gnd ?
from diybmsv4.
@stuartpittaway No. I joined the ground side of R8 and R9 together, and put 10uF between there and ground. The idea being that there would be an RC time constant between the MCU power pin and the cap on both rising and falling edges as the MOSFET switches. It may be unnecessary to do it that way, but it worked so I stopped looking further.
from diybmsv4.
I'm probably being dim here but R8 and R9 are in the middle of the resistor string (one side has R6+R8+R10+R12 the other R7+R9+R11+R13) by joining r8+r9 together you will alter the load resistance. With the capacitor in place, wouldn't this always be charged from the VCC side of the resistors and the ground from the capacitor ?
from diybmsv4.
@stuartpittaway The resistance is unchanged. Since the resistors are all the same value those two points are both at the same potential, Vcc/2.
When the FET is switched off the cap will charge to Vcc, and when switched on it will discharge down to Vcc/2. Either way there is a time delay before the voltage settles which results in a slower change in voltage at the MCU power pin.
(In use, I observe that the cell voltage drops about 100mV when bypass is active.)
from diybmsv4.
Thanks for that, just for complete understanding, I've drawn a really crude picture, is this correct? Its probably worth me copying the solution if its helped so much.
from diybmsv4.
Yes. That is it.
from diybmsv4.
I have also issues with the B.O.D. set to 2.5V. The board measures a higher voltage and begins discharging until the battery block is completly drained. I will set the B.O.D. up to 3.0V and see if the issues resolve, as the balancing should stop at low voltages anyway.
The other pack has 20P3S and a voltage drop below the 2.5V is more unlikely. The 3P13S Pack has a very high likelyhood for package errors.
from diybmsv4.
Measuring of higher voltage (for real low voltage) is the result of the use of improper voltage reference it this case. For such low voltage is better to use something like REF3020, which work with voltage drop just few mV (It is 3pin voltage reference, not shunt type).
from diybmsv4.
REF3020
Hi DanoPTT, how would the change in voltage reference help in this situation? I've not seen a problem with the reference voltage on the modules as they currently stand.
The 4.21 design also uses a lower voltage reference 1.25V - using https://datasheet.lcsc.com/szlcsc/1808081832_UTC-Unisonic-Tech-TL432G-AE3-R_C171461.pdf
from diybmsv4.
Thanks.
I used the higher voltage reference LM4040BIM3-2.5/NOPB 2.5V, due to ordering error and used 2x 13 modules each in parallel on a power supply with a battery to smooth the voltage. The difference occours at voltages below 3200mV on the measurements. I will try a 1.25V reference next.
from diybmsv4.
Related Issues (20)
- Schematics on a grid?? HOT 1
- Negative temperatures in rules HOT 2
- Wrong C1 part number on new Modulev450 HOT 1
- ModuleV450 D2 polarity confusing HOT 1
- JLCPCB Order Issue HOT 1
- Controller C3/C4 part 4V when should be 6.3V rated
- CPL file of ControllerCircuit 4.5 is diplacing the parts HOT 1
- a question regarding the wiki HOT 4
- Cell module needs a crystal to be stable HOT 30
- Polarization HOT 5
- New ESP32_Devkitc_V4 ESP32-WROOM-DA GPIO2 pin not led out to the module. HOT 1
- manual BOM is incorrect HOT 1
- Part codes for C1 is an 0402 package and should be 0805 HOT 1
- fail from me, please delete
- LTO Battery HOT 1
- JLCPCB - Ask For Clarification: Polarization of D2, D3 and D4 HOT 3
- Suggestion: Controller v4.6 Add pull up resistor to U1 HOT 1
- AZ432ANTR-E1 is not longer stocked at JLCPCB - replacement part HOT 8
- Can the v4.5 modules work with the ESP8266 controller? HOT 4
- v450 module BOM incorrectly has JLCPCB part number for ATTINY1624-XF not ATTINY1624-SSU-ND HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diybmsv4.