Close
0%
0%

danyk.cz's Battery Analyzer

A PCB for danyk.cz battery analyzer project

Similar projects worth following
The original design was made to be used on a breadboard (perfboard/veroboard), but I wanted a cleaner solution. So here it is -- an attempt at making a "proper" PCB for his awesome project.

Warning! Do not sell those boards nor accept money as an exchange for making those boards. I am not authorized to use those designs for commercial use and there is a very good chance you are not authorized to do so either.

This project is entirely based on http://danyk.cz/avr_aku_en.html with help from the author. 

Read the assembly notes before you try it!

There are two versions -- one with all through-hole parts (recommended) and one experimental version with surface-mount parts peppered in. Both should work identically, but I cannot guarantee it.

The board is designed to fit into the 10x10cm limit most PCB manufacturers have. If you can afford it, get it made with thicker copper layer, however 1oz is fine too. The tracks are made to handle it.

The schematic below is his original schematic. If there are any issues, please let me know.

Assembly notes:

On SMD boards, install all SMD parts first before you solder any THT parts, from small to big. Else, you may encounter issues with clearance.

You may substitute few parts as long as they are compatible -- Google is your friend on this. You might have noticed I've replaced few parts from the schematic already. MC33171 is compatible with TL081, but I wasn't able to get an exact replacement for IRLB8743 since all of them didn't exist on KiCad's library. As long as it has a gate voltage of 5V and it can withstand a current close or equal to the original part, I think it should be fine.

On SMD version, you need to solder the tab of 7805 voltage regulator to the pad on the board to provide a ground connection. It doesn't draw much power so the connection, so as long as it's solid, doesn't matter.

The reason the power resistor being huge is for accommodating various types of resistors, including homemade hand-wound resistor. It's spread to two resistors to split the load, but if you want, you can use one 0.24 ohm power resistor with rating of 2W or higher. You cannot use regular quarter-watt resistor for this. You NEED a high-power resistor.

The fuse is an automotive fuse. I wanted to use the fuse holder, but KiCad again didn't have a part ready for it, thus I had to make a compromise. This should be addressed in the future revisions.

I did make the board easier to assemble even with cheap tools, so I hope it paid off.

Warning:

DO NOT SCREW VOLTAGE REGULATOR AND MOSFET TO THE SAME HEATSINK. Doing this will cause a dead short to ground and fry your board! I designed the layout to dissuade users from doing that (the voltage regulator is rotated and there is an arrow on the board)

The heatsinking pad on the SMD board near the MOSFET is NOT a ground pad! DO NOT connect those two together!

You must put an additional heatsink block on top of the MOSFET on the SMD version board, or install a fan to blow on the component. Failing to do so may cause overheating, which may result in a failure and increase the fire risk.

Calibration procedure:

(From Danyk's page, edited for clarity and to reflect the actual board layout)

First of all, this is how the meter and the board is connected:

  1. Get a current meter capable of measuring up to 5A of current. (Sadly, the free/cheap DMMs may not work safely for this, so prepare to borrow it off someone)
  2. Set RV2 to center position.

  3. Connect a battery capable of at least 2.56 A discharge current and a current meter in series with it (or use an adjustable power supply capable of outputting such current).

  4. Measure the voltage of the battery.
  5. Adjust RV3 until the voltage display matches the actual voltage of the battery.
  6. Set the desired discharge current to 2.56 A.

  7. Start the discharge (press and hold the MODE button - leftmost button)

  8. Set RV1 so that the actual discharge current equals to the chosen value (2.56A).

  9. Set the discharge current to 0.01 A.

  10. Adjust the offset of inputs of the OP-AMP using RV2 - set RV2 so that the actual current is 0.01A.

  11. You're now ready to go! Put a bit of tape or hot glue over the potentiometer to prevent it from getting moved.

Control:

(From Danyk's page)

The battery meter is controlled with 3 buttons: "Mode", "UP" and "DOWN".

Mode button switches six display states:

  1. Display the actual voltage (0.00 V - 20.4 V).
  2. Measured...
Read more »

BatteryAnalyzerSMD_1.4.zip

(SMD version, now has legends for potentiometers)

x-zip-compressed - 330.31 kB - 03/06/2020 at 09:47

Download

BatteryAnalyzer_THT_1.4.zip

(THT version, now has legends for potentiometers and warning for the MOSFET on the back)

x-zip-compressed - 357.64 kB - 03/06/2020 at 09:47

Download

  • 1 × Phoenix Contact MCV 4-pin connector Commonly known as "Green Connector" for 3D printers
  • 7 × 100nF ceramic capacitor Code: 104, any voltage rating above 10V
  • 9 × 1Kohm 1/4W resistor Common resistor, brown-black-red-gold
  • 1 × 22Kohm 1/4W resistor Common resistor, red-red-orange-gold
  • 2 × 220Kohm 1/4W resistor Common resistor, red-red-yellow-gold

View all 32 components

  • To-do (2020 03 29)

    Torbjörn Lindholm03/29/2020 at 06:41 0 comments

    • Replace fuse footprint with two holes so an external fuse holder can be installed instead of automotive fuse
    • Apply patch and fix from SE (board ID: Reinhardt) so any size of resistor can be used
    • Add LC edition (board ID: Finlandia) for reduced component count (few components have been swapped out with combined component for ease of soldering)
    • Reduce board size for LC edition

View project log

Enjoy this project?

Share

Discussions

shork_wow wrote 07/09/2022 at 15:54 point

hi what's need to change in software to test 5s lit-ion battery ? for hardware i thing with p1 calibrating there's no problem

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates