tinfever / FU-Dyson-BMS

(Unofficial) Firmware Upgrade for Dyson V6/V7 Vacuum Battery Management System
Other
650 stars 73 forks source link

Dyson V7 - PCB 228499 - Compatible + Tested #14

Open NemoLee opened 1 year ago

NemoLee commented 1 year ago

Great Job! I have tested on V7 -with PCB No. 228499-01/03 it works well

tinfever commented 1 year ago

Great! Thank you for reporting your results!

tinfever commented 1 year ago

I added the PCB 228499 to the list of supported models. Could you confirm the model number of your vacuum/battery? It's usually something like SV##, like SV09 for example.

slimlesaurien commented 1 year ago

Hello sir, I managed to flash the bms (228499) with the tutorial on github (FU-Dyson-BMS), the led reacted correctly. The cells are correctly balanced and the voltage is good. The only problem I encounter, when I use the vacuum cleaner in boost mode the battery only takes 10 seconds, the vacuum cleaner stops. I put it back changed everything is correct and I always try again the same. Can you help me I am new to programming. Cordially.

NemoLee commented 1 year ago

Hello sir, I managed to flash the bms (228499) with the tutorial on github (FU-Dyson-BMS), the led reacted correctly. The cells are correctly balanced and the voltage is good. The only problem I encounter, when I use the vacuum cleaner in boost mode the battery only takes 10 seconds, the vacuum cleaner stops. I put it back changed everything is correct and I always try again the same. Can you help me I am new to programming. Cordially.

Same problem, the high-power mode will automatically shut down after ten seconds, a period of time later, it can resume by using the low gear mode.

tinfever commented 1 year ago

What LED code are you getting when the vacuum shuts down after 10 seconds in high power mode?

slimlesaurien commented 1 year ago

hello when the problem occurs the battery flashes blue 3 times and after a few minutes it works again then the problem comes back. Cordially

tinfever commented 1 year ago

Three blue flashes means:

3x Blue flashes - Battery low (Low voltage cutoff reached). Output disabled until charger connected or pack goes to sleep and forgets.

It means your battery cells are reaching the 3V low voltage cutoff. Your battery cells probably have less capacity than they did when they were new. They also probably have a higher ESR than new. The high power mode draws much more current, which means the higher ESR of the cells causes the measured level of the cells to be lower under load.

If you wanted to, you could try lowering the MIN_DISCHARGE_CELL_VOLTAGE_mV parameter in config.h from 3000 to 2700 and you might get a little bit longer out of the cells, but there isn't much that can be done otherwise.

slimlesaurien commented 1 year ago

hello sir can you explain to me how to modify this value on the.hex file, I am a bit lost I am a beginner and these are complicated for me. Cordially

tinfever commented 1 year ago

You'd need to download MPLABX and edit the source code and recompile to generate a new hex. I'm afraid you'll have to figure out the details yourself.

slimlesaurien commented 1 year ago

hello sir I can not use the software, it is complicated for me. could you send me the hex file with the modifications. Cordially

slimlesaurien commented 1 year ago

Bonjour monsieur j'ai des erreur avec le xc8 IMG_20230324_171113

tinfever commented 1 year ago

I'm not sure those are actual errors since it says "info". I think it is just saying that because the latest XC8 compiler (v2.41) is newer that what I used at the time (v2.32). Look at the text in the "Build, Load" tab in your picture.

Anyways, I recompiled with the 2700mV low voltage cutoff. The hex file is attached. Although I think you are very close to being able to do it all yourself. Change the .txt extension to .hex to flash.

FU-DYSON-BMS_v1_Reduced_low_voltage_cutoff_2700mV.txt

slimlesaurien commented 1 year ago

hello sir I managed to modify the .txt file in .hex, and inject it into the battery but it does the same thing after 10 seconds it stops and flashes blue 3 times I am lost

tinfever commented 1 year ago

Then either the battery cell capacity is too low or the ESR of the cells is too high. This is a battery cell issue and they probably must be replaced if you want to run at high-power mode.

You could do more testing if you wanted. Measure the voltage on each cell simultaneously while you run the vacuum in high-power mode and see how low the voltage on the cells goes. See if one cell is going lower than the others under load. You can also measure cell ESR by applying a known current load and then measuring the voltage drop of the cell as the load is applied.

I can't provide further help I'm afraid, unless there is some indication there is a bug in my software.

slimlesaurien commented 1 year ago

hello sir thank you for your help, the battery is well distributed but now when I vacuum after a while it flashes red 7 times.

The second thing when the battery is empty ( flashes 3 times blue), I but changed it, the battery flashes red 12 times red can you still help me. Cordially

tinfever commented 1 year ago

7 red flashes means the cell temperature has reached 60C and they are too hot. This is probably because the ESR of the cells is causing them to heat up more even when you use the vacuum on normal power mode.

12 red flashes means the battery pack is too hot to charge. You may need to let it cool down before connecting it with the charger. The temperature limits allow the battery to go up to 60C when discharging but it won't charge unless the battery is less than 50C, so if the battery is at 55C it might have been discharging fine but then produce an error when you try to charge it.

NemoLee commented 1 year ago

I m back, I replaced the new battery and tested the voltage of all the batteries, which was around 4.2V, with an internal resistance of about 13mΩ. When I plugged in the charger, the yellow light blinked 20 times but quickly turned into a blue light, and then green. When I pulled the trigger, I received 3 flashes of the blue light. I am now confused. - -!

NemoLee commented 1 year ago

In addition, when I added the capacitor as mentioned in the eevblog, the red light started blinking 16 times, indicating a restart of the power chip. Strangely, everything started working fine again when the green light came back on. However, after using it at high power and recharging, the issue of the blue light blinking 3 times occurred again.